Enum cirru_parser::Cirru
source · pub enum Cirru {
Leaf(Arc<str>),
List(Vec<Cirru>),
}
Expand description
Cirru uses nested Vecters and Strings as data structure
Variants§
Implementations§
Trait Implementations§
source§impl<'__de> BorrowDecode<'__de> for Cirru
impl<'__de> BorrowDecode<'__de> for Cirru
source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
source§impl Ord for Cirru
impl Ord for Cirru
source§impl PartialEq for Cirru
impl PartialEq for Cirru
source§impl PartialOrd for Cirru
impl PartialOrd for Cirru
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Cirru
impl StructuralPartialEq for Cirru
Auto Trait Implementations§
impl Freeze for Cirru
impl RefUnwindSafe for Cirru
impl Send for Cirru
impl Sync for Cirru
impl Unpin for Cirru
impl UnwindSafe for Cirru
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