#[repr(C)]pub struct MemoryBarrier {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_access_mask: AccessFlags,
pub dst_access_mask: AccessFlags,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_access_mask: AccessFlags
§dst_access_mask: AccessFlags
Implementations§
Source§impl MemoryBarrier
impl MemoryBarrier
pub fn builder<'a>() -> MemoryBarrierBuilder<'a>
Trait Implementations§
Source§impl Clone for MemoryBarrier
impl Clone for MemoryBarrier
Source§fn clone(&self) -> MemoryBarrier
fn clone(&self) -> MemoryBarrier
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 Default for MemoryBarrier
impl Default for MemoryBarrier
impl Copy for MemoryBarrier
Auto Trait Implementations§
impl Freeze for MemoryBarrier
impl RefUnwindSafe for MemoryBarrier
impl !Send for MemoryBarrier
impl !Sync for MemoryBarrier
impl Unpin for MemoryBarrier
impl UnwindSafe for MemoryBarrier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)