pub enum DeclareState {
Empty,
Declared(usize, Type),
Declaring(HashMap<usize, Type>),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DeclareState
impl Clone for DeclareState
Source§fn clone(&self) -> DeclareState
fn clone(&self) -> DeclareState
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 DeclareState
impl Debug for DeclareState
Source§impl FromIterator<(usize, Type)> for DeclareState
impl FromIterator<(usize, Type)> for DeclareState
Source§impl FromIterator<Type> for DeclareState
impl FromIterator<Type> for DeclareState
Auto Trait Implementations§
impl Freeze for DeclareState
impl RefUnwindSafe for DeclareState
impl !Send for DeclareState
impl !Sync for DeclareState
impl Unpin for DeclareState
impl UnwindSafe for DeclareState
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