pub enum GlobalAddressSpace {
Global,
Const,
Shared,
Local,
}Expand description
Memory spaces addressable by global declarations.
Variants§
Trait Implementations§
Source§impl Clone for GlobalAddressSpace
impl Clone for GlobalAddressSpace
Source§fn clone(&self) -> GlobalAddressSpace
fn clone(&self) -> GlobalAddressSpace
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 GlobalAddressSpace
impl Debug for GlobalAddressSpace
Source§impl Display for GlobalAddressSpace
impl Display for GlobalAddressSpace
Source§impl PartialEq for GlobalAddressSpace
impl PartialEq for GlobalAddressSpace
impl Copy for GlobalAddressSpace
impl Eq for GlobalAddressSpace
impl StructuralPartialEq for GlobalAddressSpace
Auto Trait Implementations§
impl Freeze for GlobalAddressSpace
impl RefUnwindSafe for GlobalAddressSpace
impl Send for GlobalAddressSpace
impl Sync for GlobalAddressSpace
impl Unpin for GlobalAddressSpace
impl UnwindSafe for GlobalAddressSpace
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