#[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) -> boolis_empty: extern "C" fn(self_c: *const RUBase) -> boolis_valid: extern "C" fn(self_c: *const RUBase) -> boolwidth: extern "C" fn(self_c: *const RUBase) -> f32height: extern "C" fn(self_c: *const RUBase) -> f32set_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) -> RUSizeFscaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, mode: u32) -> RUSizeFexpanded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeFbounded_to: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUSizeFrwidth: extern "C" fn(self_c: *const RUBase) -> f32rheight: extern "C" fn(self_c: *const RUBase) -> f32to_size: extern "C" fn(self_c: *const RUBase) -> RUSize

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.