Struct rute::auto::size_f_ffi::RUSizeFFuncs
source · #[repr(C)]pub struct RUSizeFFuncs {Show 17 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) -> f32,
pub height: extern "C" fn(self_c: *const RUBase) -> f32,
pub set_width: extern "C" fn(self_c: *const RUBase, w: f32),
pub set_height: extern "C" fn(self_c: *const RUBase, h: f32),
pub scale: extern "C" fn(self_c: *const RUBase, w: f32, h: f32, mode: u32),
pub scale_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: u32),
pub scaled: extern "C" fn(self_c: *const RUBase, w: f32, h: f32, mode: u32) -> RUSizeF,
pub scaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: u32) -> RUSizeF,
pub expanded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeF,
pub bounded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeF,
pub rwidth: extern "C" fn(self_c: *const RUBase) -> f32,
pub rheight: extern "C" fn(self_c: *const RUBase) -> f32,
pub to_size: extern "C" fn(self_c: *const RUBase) -> RUSize,
}
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) -> f32
height: extern "C" fn(self_c: *const RUBase) -> f32
set_width: extern "C" fn(self_c: *const RUBase, w: f32)
set_height: extern "C" fn(self_c: *const RUBase, h: f32)
scale: extern "C" fn(self_c: *const RUBase, w: f32, h: f32, mode: u32)
scale_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: u32)
scaled: extern "C" fn(self_c: *const RUBase, w: f32, h: f32, mode: u32) -> RUSizeF
scaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: u32) -> RUSizeF
expanded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeF
bounded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeF
rwidth: extern "C" fn(self_c: *const RUBase) -> f32
rheight: extern "C" fn(self_c: *const RUBase) -> f32
to_size: extern "C" fn(self_c: *const RUBase) -> RUSize
Trait Implementations
sourceimpl Clone for RUSizeFFuncs
impl Clone for RUSizeFFuncs
sourcefn clone(&self) -> RUSizeFFuncs
fn clone(&self) -> RUSizeFFuncs
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 RUSizeFFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSizeFFuncs
impl Send for RUSizeFFuncs
impl Sync for RUSizeFFuncs
impl Unpin for RUSizeFFuncs
impl UnwindSafe for RUSizeFFuncs
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