Enum edlang_ast::TypeQualifier
source · pub enum TypeQualifier {
Ref,
RefMut,
Ptr,
PtrMut,
}
Variants§
Trait Implementations§
source§impl Clone for TypeQualifier
impl Clone for TypeQualifier
source§fn clone(&self) -> TypeQualifier
fn clone(&self) -> TypeQualifier
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 TypeQualifier
impl Debug for TypeQualifier
source§impl Hash for TypeQualifier
impl Hash for TypeQualifier
source§impl Ord for TypeQualifier
impl Ord for TypeQualifier
source§fn cmp(&self, other: &TypeQualifier) -> Ordering
fn cmp(&self, other: &TypeQualifier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TypeQualifier
impl PartialEq for TypeQualifier
source§fn eq(&self, other: &TypeQualifier) -> bool
fn eq(&self, other: &TypeQualifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TypeQualifier
impl PartialOrd for TypeQualifier
source§fn partial_cmp(&self, other: &TypeQualifier) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeQualifier) -> Option<Ordering>
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 Copy for TypeQualifier
impl Eq for TypeQualifier
impl StructuralEq for TypeQualifier
impl StructuralPartialEq for TypeQualifier
Auto Trait Implementations§
impl RefUnwindSafe for TypeQualifier
impl Send for TypeQualifier
impl Sync for TypeQualifier
impl Unpin for TypeQualifier
impl UnwindSafe for TypeQualifier
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