Enum solang_parser::pt::StorageLocation
source · [−]Variants
Memory(Loc)
Storage(Loc)
Calldata(Loc)
Trait Implementations
sourceimpl Clone for StorageLocation
impl Clone for StorageLocation
sourcefn clone(&self) -> StorageLocation
fn clone(&self) -> StorageLocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl CodeLocation for StorageLocation
impl CodeLocation for StorageLocation
sourceimpl Debug for StorageLocation
impl Debug for StorageLocation
sourceimpl Display for StorageLocation
impl Display for StorageLocation
sourceimpl PartialEq<StorageLocation> for StorageLocation
impl PartialEq<StorageLocation> for StorageLocation
sourcefn eq(&self, other: &StorageLocation) -> bool
fn eq(&self, other: &StorageLocation) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StorageLocation) -> bool
fn ne(&self, other: &StorageLocation) -> bool
This method tests for !=.
impl StructuralPartialEq for StorageLocation
Auto Trait Implementations
impl RefUnwindSafe for StorageLocation
impl Send for StorageLocation
impl Sync for StorageLocation
impl Unpin for StorageLocation
impl UnwindSafe for StorageLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more