pub enum MemoryBarrierType {
Read,
Write,
Full,
}Expand description
内存屏障类型
Variants§
Trait Implementations§
Source§impl Clone for MemoryBarrierType
impl Clone for MemoryBarrierType
Source§fn clone(&self) -> MemoryBarrierType
fn clone(&self) -> MemoryBarrierType
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 moreimpl Copy for MemoryBarrierType
Source§impl Debug for MemoryBarrierType
impl Debug for MemoryBarrierType
impl Eq for MemoryBarrierType
Source§impl PartialEq for MemoryBarrierType
impl PartialEq for MemoryBarrierType
Source§fn eq(&self, other: &MemoryBarrierType) -> bool
fn eq(&self, other: &MemoryBarrierType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryBarrierType
Auto Trait Implementations§
impl Freeze for MemoryBarrierType
impl RefUnwindSafe for MemoryBarrierType
impl Send for MemoryBarrierType
impl Sync for MemoryBarrierType
impl Unpin for MemoryBarrierType
impl UnsafeUnpin for MemoryBarrierType
impl UnwindSafe for MemoryBarrierType
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