Struct r2api::r_io_map_t
source · [−]#[repr(C)]pub struct r_io_map_t {
pub fd: c_int,
pub perm: c_int,
pub id: u32,
pub ts: u64,
pub itv: RInterval,
pub delta: u64,
pub name: *mut c_char,
}Fields
fd: c_intperm: c_intid: u32ts: u64itv: RIntervaldelta: u64name: *mut c_charTrait Implementations
sourceimpl Clone for r_io_map_t
impl Clone for r_io_map_t
sourcefn clone(&self) -> r_io_map_t
fn clone(&self) -> r_io_map_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for r_io_map_t
impl Debug for r_io_map_t
impl Copy for r_io_map_t
Auto Trait Implementations
impl RefUnwindSafe for r_io_map_t
impl !Send for r_io_map_t
impl !Sync for r_io_map_t
impl Unpin for r_io_map_t
impl UnwindSafe for r_io_map_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more