pub struct Ring<T> {
pub mask: u32,
pub size: u32,
pub producer: Index,
pub consumer: Index,
pub ring: *mut T,
pub map: *mut c_void,
}Fields§
§mask: u32§size: u32§producer: Index§consumer: Index§ring: *mut T§map: *mut c_voidImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Ring<T>
impl<T> RefUnwindSafe for Ring<T>where
T: RefUnwindSafe,
impl<T> !Send for Ring<T>
impl<T> !Sync for Ring<T>
impl<T> Unpin for Ring<T>
impl<T> UnwindSafe for Ring<T>where
T: RefUnwindSafe,
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