[][src]Struct netmap_sys::netmap::netmap_ring

#[repr(C)]
pub struct netmap_ring { pub buf_ofs: i64, pub num_slots: u32, pub nr_buf_size: u32, pub ringid: u16, pub dir: u16, pub head: u32, pub cur: u32, pub tail: u32, pub flags: u32, pub ts: timeval, pub sem: [u8; 128], pub slot: [netmap_slot; 0], // some fields omitted }

Fields

buf_ofs: i64num_slots: u32nr_buf_size: u32ringid: u16dir: u16head: u32cur: u32tail: u32flags: u32ts: timevalsem: [u8; 128]slot: [netmap_slot; 0]

Trait Implementations

impl Copy for netmap_ring[src]

impl Clone for netmap_ring[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for netmap_ring

impl Sync for netmap_ring

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.