Enum gml_parser::gml::GmlItem
source · pub enum GmlItem<'a> {
Node(Node<'a>),
Edge(Edge<'a>),
Directed(bool),
KeyValue((Cow<'a, str>, Value<'a>)),
}
Expand description
An item that represents a key-value pair. For example, node [ ... ]
, directed 0
,
label "abc"
, etc.
Variants§
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for GmlItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for GmlItem<'a>
impl<'a> RefUnwindSafe for GmlItem<'a>
impl<'a> Send for GmlItem<'a>
impl<'a> Sync for GmlItem<'a>
impl<'a> Unpin for GmlItem<'a>
impl<'a> UnwindSafe for GmlItem<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)