Enum a2lfile::MemoryAttribute
source · pub enum MemoryAttribute {
Intern,
Extern,
}
Expand description
specifies if a given memory region is internal or external
Variants§
Trait Implementations§
source§impl Clone for MemoryAttribute
impl Clone for MemoryAttribute
source§fn clone(&self) -> MemoryAttribute
fn clone(&self) -> MemoryAttribute
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 MemoryAttribute
impl Debug for MemoryAttribute
source§impl Display for MemoryAttribute
impl Display for MemoryAttribute
source§impl PartialEq for MemoryAttribute
impl PartialEq for MemoryAttribute
source§fn eq(&self, other: &MemoryAttribute) -> bool
fn eq(&self, other: &MemoryAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MemoryAttribute
impl Eq for MemoryAttribute
impl StructuralPartialEq for MemoryAttribute
Auto Trait Implementations§
impl Freeze for MemoryAttribute
impl RefUnwindSafe for MemoryAttribute
impl Send for MemoryAttribute
impl Sync for MemoryAttribute
impl Unpin for MemoryAttribute
impl UnwindSafe for MemoryAttribute
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