Struct cairo_lang_syntax::node::ast::ModifierGreen
source · pub struct ModifierGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
source§impl Clone for ModifierGreen
impl Clone for ModifierGreen
source§fn clone(&self) -> ModifierGreen
fn clone(&self) -> ModifierGreen
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 ModifierGreen
impl Debug for ModifierGreen
source§impl From<TerminalMutGreen> for ModifierGreen
impl From<TerminalMutGreen> for ModifierGreen
source§fn from(value: TerminalMutGreen) -> Self
fn from(value: TerminalMutGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalRefGreen> for ModifierGreen
impl From<TerminalRefGreen> for ModifierGreen
source§fn from(value: TerminalRefGreen) -> Self
fn from(value: TerminalRefGreen) -> Self
Converts to this type from the input type.
source§impl Hash for ModifierGreen
impl Hash for ModifierGreen
source§impl PartialEq for ModifierGreen
impl PartialEq for ModifierGreen
source§fn eq(&self, other: &ModifierGreen) -> bool
fn eq(&self, other: &ModifierGreen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ModifierGreen
impl Eq for ModifierGreen
impl StructuralPartialEq for ModifierGreen
Auto Trait Implementations§
impl RefUnwindSafe for ModifierGreen
impl Send for ModifierGreen
impl Sync for ModifierGreen
impl Unpin for ModifierGreen
impl UnwindSafe for ModifierGreen
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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.