Enum cairo_lang_syntax::node::green::GreenNodeDetails
source · pub enum GreenNodeDetails {
Token(SmolStr),
Node {
children: Vec<GreenId>,
width: TextWidth,
},
}
Variants§
Trait Implementations§
source§impl Clone for GreenNodeDetails
impl Clone for GreenNodeDetails
source§fn clone(&self) -> GreenNodeDetails
fn clone(&self) -> GreenNodeDetails
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 Debug for GreenNodeDetails
impl Debug for GreenNodeDetails
source§impl Hash for GreenNodeDetails
impl Hash for GreenNodeDetails
source§impl PartialEq for GreenNodeDetails
impl PartialEq for GreenNodeDetails
source§fn eq(&self, other: &GreenNodeDetails) -> bool
fn eq(&self, other: &GreenNodeDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GreenNodeDetails
impl StructuralPartialEq for GreenNodeDetails
Auto Trait Implementations§
impl Freeze for GreenNodeDetails
impl RefUnwindSafe for GreenNodeDetails
impl Send for GreenNodeDetails
impl Sync for GreenNodeDetails
impl Unpin for GreenNodeDetails
impl UnwindSafe for GreenNodeDetails
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.