pub enum LocalVarType {
Type(Type),
Var(Span),
}Expand description
The type of a local variable declaration.
Variants§
Trait Implementations§
Source§impl Clone for LocalVarType
impl Clone for LocalVarType
Source§fn clone(&self) -> LocalVarType
fn clone(&self) -> LocalVarType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocalVarType
impl Debug for LocalVarType
Source§impl Hash for LocalVarType
impl Hash for LocalVarType
Source§impl PartialEq for LocalVarType
impl PartialEq for LocalVarType
Source§fn eq(&self, other: &LocalVarType) -> bool
fn eq(&self, other: &LocalVarType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LocalVarType
impl StructuralPartialEq for LocalVarType
Auto Trait Implementations§
impl Freeze for LocalVarType
impl RefUnwindSafe for LocalVarType
impl Send for LocalVarType
impl Sync for LocalVarType
impl Unpin for LocalVarType
impl UnsafeUnpin for LocalVarType
impl UnwindSafe for LocalVarType
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