pub struct SplitViewTemplateSettings {
pub open_pane_length: f64,
pub negative_open_pane_length: f64,
pub open_pane_length_minus_compact_length: f64,
pub negative_open_pane_length_minus_compact_length: f64,
pub open_pane_grid_length: GridLength,
pub compact_pane_grid_length: GridLength,
}Expand description
Read-only values supplied to the SplitView template. Auto resolves after the pane’s layout.
Fields§
§open_pane_length: f64The resolved width of the fully open pane.
negative_open_pane_length: f64The negated open width used by the left-pane translation.
open_pane_length_minus_compact_length: f64The additional width revealed when expanding from compact to open.
negative_open_pane_length_minus_compact_length: f64The negated expansion width used by left-pane clip and content animations.
open_pane_grid_length: GridLengthThe resolved open width expressed as a pixel Grid length.
compact_pane_grid_length: GridLengthThe compact width expressed as a pixel Grid length.
Trait Implementations§
Source§impl Clone for SplitViewTemplateSettings
impl Clone for SplitViewTemplateSettings
impl Copy for SplitViewTemplateSettings
Source§impl Debug for SplitViewTemplateSettings
impl Debug for SplitViewTemplateSettings
impl StructuralPartialEq for SplitViewTemplateSettings
Auto Trait Implementations§
impl Forget for SplitViewTemplateSettings
impl Freeze for SplitViewTemplateSettings
impl Move for SplitViewTemplateSettings
impl RefUnwindSafe for SplitViewTemplateSettings
impl Send for SplitViewTemplateSettings
impl Sync for SplitViewTemplateSettings
impl Unpin for SplitViewTemplateSettings
impl UnsafeUnpin for SplitViewTemplateSettings
impl UnwindSafe for SplitViewTemplateSettings
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