Struct rute::auto::size_ffi::RUSizeFuncs
source · #[repr(C)]pub struct RUSizeFuncs {Show 16 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_valid: extern "C" fn(self_c: *const RUBase) -> bool,
pub width: extern "C" fn(self_c: *const RUBase) -> i32,
pub height: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_width: extern "C" fn(self_c: *const RUBase, w: i32),
pub set_height: extern "C" fn(self_c: *const RUBase, h: i32),
pub scale: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32),
pub scale_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: i32),
pub scaled: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32) -> RUSize,
pub scaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: i32) -> RUSize,
pub expanded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSize,
pub bounded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSize,
pub rwidth: extern "C" fn(self_c: *const RUBase) -> i32,
pub rheight: extern "C" fn(self_c: *const RUBase) -> i32,
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
is_empty: extern "C" fn(self_c: *const RUBase) -> bool
is_valid: extern "C" fn(self_c: *const RUBase) -> bool
width: extern "C" fn(self_c: *const RUBase) -> i32
height: extern "C" fn(self_c: *const RUBase) -> i32
set_width: extern "C" fn(self_c: *const RUBase, w: i32)
set_height: extern "C" fn(self_c: *const RUBase, h: i32)
scale: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32)
scale_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: i32)
scaled: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32) -> RUSize
scaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: i32) -> RUSize
expanded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSize
bounded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSize
rwidth: extern "C" fn(self_c: *const RUBase) -> i32
rheight: extern "C" fn(self_c: *const RUBase) -> i32
Trait Implementations
sourceimpl Clone for RUSizeFuncs
impl Clone for RUSizeFuncs
sourcefn clone(&self) -> RUSizeFuncs
fn clone(&self) -> RUSizeFuncs
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 moreimpl Copy for RUSizeFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSizeFuncs
impl Send for RUSizeFuncs
impl Sync for RUSizeFuncs
impl Unpin for RUSizeFuncs
impl UnwindSafe for RUSizeFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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