[][src]Struct mruby_sys::RString

#[repr(C)]
pub struct RString {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub c: *mut RClass,
    pub gcnext: *mut RBasic,
    pub as_: RString__bindgen_ty_1,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>c: *mut RClassgcnext: *mut RBasicas_: RString__bindgen_ty_1

Methods

impl RString[src]

pub fn tt(&self) -> mrb_vtype[src]

pub fn set_tt(&mut self, val: mrb_vtype)[src]

pub fn color(&self) -> u32[src]

pub fn set_color(&mut self, val: u32)[src]

pub fn flags(&self) -> u32[src]

pub fn set_flags(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    tt: mrb_vtype,
    color: u32,
    flags: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for RString[src]

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

Performs copy-assignment from source. Read more

impl Copy for RString[src]

Auto Trait Implementations

impl !Send for RString

impl Unpin for RString

impl !Sync for RString

impl UnwindSafe for RString

impl RefUnwindSafe for RString

Blanket Implementations

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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