Enum chalk_parse::ast::VariableKind
source · pub enum VariableKind {
Ty(Identifier),
IntegerTy(Identifier),
FloatTy(Identifier),
Lifetime(Identifier),
Const(Identifier),
}
Variants§
Trait Implementations§
source§impl Clone for VariableKind
impl Clone for VariableKind
source§fn clone(&self) -> VariableKind
fn clone(&self) -> VariableKind
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 VariableKind
impl Debug for VariableKind
source§impl PartialEq for VariableKind
impl PartialEq for VariableKind
source§fn eq(&self, other: &VariableKind) -> bool
fn eq(&self, other: &VariableKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VariableKind
impl StructuralPartialEq for VariableKind
Auto Trait Implementations§
impl Freeze for VariableKind
impl RefUnwindSafe for VariableKind
impl Send for VariableKind
impl Sync for VariableKind
impl Unpin for VariableKind
impl UnwindSafe for VariableKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)