pub enum DeclStorageClass {
My,
Our,
Local,
State,
}Expand description
Storage class for a variable declaration.
Variants§
Trait Implementations§
Source§impl Clone for DeclStorageClass
impl Clone for DeclStorageClass
Source§fn clone(&self) -> DeclStorageClass
fn clone(&self) -> DeclStorageClass
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 DeclStorageClass
impl Debug for DeclStorageClass
impl Eq for DeclStorageClass
Source§impl PartialEq for DeclStorageClass
impl PartialEq for DeclStorageClass
Source§fn eq(&self, other: &DeclStorageClass) -> bool
fn eq(&self, other: &DeclStorageClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeclStorageClass
Auto Trait Implementations§
impl Freeze for DeclStorageClass
impl RefUnwindSafe for DeclStorageClass
impl Send for DeclStorageClass
impl Sync for DeclStorageClass
impl Unpin for DeclStorageClass
impl UnsafeUnpin for DeclStorageClass
impl UnwindSafe for DeclStorageClass
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