pub struct Turtle {
pub base: Option<Spanned<Base>>,
pub prefixes: Vec<Spanned<TurtlePrefix>>,
pub triples: Vec<Spanned<Triple>>,
pub set_base: Option<String>,
}Fields§
§base: Option<Spanned<Base>>§prefixes: Vec<Spanned<TurtlePrefix>>§triples: Vec<Spanned<Triple>>§set_base: Option<String>Document base URL for prefix/IRI resolution. Set by the language server after parsing; not populated by the A* parser or CST converter.
Implementations§
Trait Implementations§
impl Eq for Turtle
impl StructuralPartialEq for Turtle
Auto Trait Implementations§
impl Freeze for Turtle
impl RefUnwindSafe for Turtle
impl Send for Turtle
impl Sync for Turtle
impl Unpin for Turtle
impl UnsafeUnpin for Turtle
impl UnwindSafe for Turtle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more