Enum org_rust_parser::element::Affiliated
source · pub enum Affiliated<'a> {
Name(Option<NodeID>),
Caption(Option<NodeID>, &'a str),
Attr {
child_id: Option<NodeID>,
backend: &'a str,
val: &'a str,
},
}
Variants§
Trait Implementations§
source§impl<'a> Clone for Affiliated<'a>
impl<'a> Clone for Affiliated<'a>
source§fn clone(&self) -> Affiliated<'a>
fn clone(&self) -> Affiliated<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for Affiliated<'a>
impl<'a> Debug for Affiliated<'a>
source§impl<'a> From<Affiliated<'a>> for Expr<'a>
impl<'a> From<Affiliated<'a>> for Expr<'a>
source§fn from(original: Affiliated<'a>) -> Expr<'a>
fn from(original: Affiliated<'a>) -> Expr<'a>
Converts to this type from the input type.
source§impl<'a> PartialEq for Affiliated<'a>
impl<'a> PartialEq for Affiliated<'a>
source§fn eq(&self, other: &Affiliated<'a>) -> bool
fn eq(&self, other: &Affiliated<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for Affiliated<'a>
impl<'a> StructuralPartialEq for Affiliated<'a>
Auto Trait Implementations§
impl<'a> Freeze for Affiliated<'a>
impl<'a> RefUnwindSafe for Affiliated<'a>
impl<'a> Send for Affiliated<'a>
impl<'a> Sync for Affiliated<'a>
impl<'a> Unpin for Affiliated<'a>
impl<'a> UnwindSafe for Affiliated<'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