Struct rute::auto::size_policy_ffi::RUSizePolicyFuncs
source · #[repr(C)]pub struct RUSizePolicyFuncs {
pub destroy: extern "C" fn(self_c: *const RUBase),
pub horizontal_policy: extern "C" fn(self_c: *const RUBase) -> u32,
pub vertical_policy: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_horizontal_policy: extern "C" fn(self_c: *const RUBase, d: u32),
pub set_vertical_policy: extern "C" fn(self_c: *const RUBase, d: u32),
pub expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_height_for_width: extern "C" fn(self_c: *const RUBase, b: bool),
pub has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_width_for_height: extern "C" fn(self_c: *const RUBase, b: bool),
pub has_width_for_height: extern "C" fn(self_c: *const RUBase) -> bool,
pub retain_size_when_hidden: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_retain_size_when_hidden: extern "C" fn(self_c: *const RUBase, retain_size: bool),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
horizontal_policy: extern "C" fn(self_c: *const RUBase) -> u32
vertical_policy: extern "C" fn(self_c: *const RUBase) -> u32
set_horizontal_policy: extern "C" fn(self_c: *const RUBase, d: u32)
set_vertical_policy: extern "C" fn(self_c: *const RUBase, d: u32)
expanding_directions: extern "C" fn(self_c: *const RUBase) -> u32
set_height_for_width: extern "C" fn(self_c: *const RUBase, b: bool)
has_height_for_width: extern "C" fn(self_c: *const RUBase) -> bool
set_width_for_height: extern "C" fn(self_c: *const RUBase, b: bool)
has_width_for_height: extern "C" fn(self_c: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUSizePolicyFuncs
impl Clone for RUSizePolicyFuncs
sourcefn clone(&self) -> RUSizePolicyFuncs
fn clone(&self) -> RUSizePolicyFuncs
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 RUSizePolicyFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUSizePolicyFuncs
impl Send for RUSizePolicyFuncs
impl Sync for RUSizePolicyFuncs
impl Unpin for RUSizePolicyFuncs
impl UnwindSafe for RUSizePolicyFuncs
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