pub struct BoxLayoutSettings {
pub size: usize,
pub horizontal: c_int,
pub inside_border_horizontal_spacing: c_int,
pub inside_border_vertical_spacing: c_int,
pub inside_border_insets: Insets,
pub between_child_spacing: c_int,
pub main_axis_alignment: AxisAlignment,
pub cross_axis_alignment: AxisAlignment,
pub minimum_cross_axis_size: c_int,
pub default_flex: c_int,
}Expand description
See _cef_box_layout_settings_t for more documentation.
Fields§
§size: usize§horizontal: c_int§inside_border_horizontal_spacing: c_int§inside_border_vertical_spacing: c_int§inside_border_insets: Insets§between_child_spacing: c_int§main_axis_alignment: AxisAlignment§cross_axis_alignment: AxisAlignment§minimum_cross_axis_size: c_int§default_flex: c_intTrait Implementations§
Source§impl Clone for BoxLayoutSettings
impl Clone for BoxLayoutSettings
Source§fn clone(&self) -> BoxLayoutSettings
fn clone(&self) -> BoxLayoutSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoxLayoutSettings
impl Debug for BoxLayoutSettings
Source§impl Default for BoxLayoutSettings
impl Default for BoxLayoutSettings
Source§impl From<BoxLayoutSettings> for _cef_box_layout_settings_t
impl From<BoxLayoutSettings> for _cef_box_layout_settings_t
Source§fn from(value: BoxLayoutSettings) -> Self
fn from(value: BoxLayoutSettings) -> Self
Converts to this type from the input type.
Source§impl From<_cef_box_layout_settings_t> for BoxLayoutSettings
impl From<_cef_box_layout_settings_t> for BoxLayoutSettings
Source§fn from(value: _cef_box_layout_settings_t) -> Self
fn from(value: _cef_box_layout_settings_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoxLayoutSettings
impl RefUnwindSafe for BoxLayoutSettings
impl Send for BoxLayoutSettings
impl Sync for BoxLayoutSettings
impl Unpin for BoxLayoutSettings
impl UnwindSafe for BoxLayoutSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more