Struct rb_sys::RTypedData
source · [−]#[repr(C)]pub struct RTypedData {
pub basic: RBasic,
pub type_: *const rb_data_type_t,
pub typed_flag: VALUE,
pub data: *mut c_void,
}Fields
basic: RBasictype_: *const rb_data_type_ttyped_flag: VALUEdata: *mut c_voidTrait Implementations
sourceimpl Clone for RTypedData
impl Clone for RTypedData
sourcefn clone(&self) -> RTypedData
fn clone(&self) -> RTypedData
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 RTypedData
impl Debug for RTypedData
sourceimpl PartialEq<RTypedData> for RTypedData
impl PartialEq<RTypedData> for RTypedData
sourcefn eq(&self, other: &RTypedData) -> bool
fn eq(&self, other: &RTypedData) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RTypedData) -> bool
fn ne(&self, other: &RTypedData) -> bool
This method tests for !=.
impl Copy for RTypedData
impl Eq for RTypedData
impl StructuralEq for RTypedData
impl StructuralPartialEq for RTypedData
Auto Trait Implementations
impl RefUnwindSafe for RTypedData
impl !Send for RTypedData
impl !Sync for RTypedData
impl Unpin for RTypedData
impl UnwindSafe for RTypedData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more