Struct librsb_sys::rsb_type_t
source · [−]#[repr(transparent)]pub struct rsb_type_t(pub c_char);
Expand description
A type for specifying numerical type codes (See \ref matrix_type_symbols_section for a list of valid values).
Tuple Fields
0: c_char
Trait Implementations
sourceimpl Clone for rsb_type_t
impl Clone for rsb_type_t
sourcefn clone(&self) -> rsb_type_t
fn clone(&self) -> rsb_type_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 rsb_type_t
impl Debug for rsb_type_t
sourceimpl Hash for rsb_type_t
impl Hash for rsb_type_t
sourceimpl PartialEq<rsb_type_t> for rsb_type_t
impl PartialEq<rsb_type_t> for rsb_type_t
sourcefn eq(&self, other: &rsb_type_t) -> bool
fn eq(&self, other: &rsb_type_t) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &rsb_type_t) -> bool
fn ne(&self, other: &rsb_type_t) -> bool
This method tests for !=
.
impl Copy for rsb_type_t
impl Eq for rsb_type_t
impl StructuralEq for rsb_type_t
impl StructuralPartialEq for rsb_type_t
Auto Trait Implementations
impl RefUnwindSafe for rsb_type_t
impl Send for rsb_type_t
impl Sync for rsb_type_t
impl Unpin for rsb_type_t
impl UnwindSafe for rsb_type_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