pub enum DataLocation {
Memory,
Storage,
Calldata,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DataLocation
impl Clone for DataLocation
Source§fn clone(&self) -> DataLocation
fn clone(&self) -> DataLocation
Returns a duplicate 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 DataLocation
impl Debug for DataLocation
Source§impl PartialEq for DataLocation
impl PartialEq for DataLocation
impl StructuralPartialEq for DataLocation
Auto Trait Implementations§
impl Freeze for DataLocation
impl RefUnwindSafe for DataLocation
impl Send for DataLocation
impl Sync for DataLocation
impl Unpin for DataLocation
impl UnwindSafe for DataLocation
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