pub struct ResolvedChromeLayout { /* private fields */ }Expand description
Complete, deterministic chrome geometry resolved by EuvChromeLayoutPolicy for EuvAppShell and EuvRouterOutlet.
Implementations§
Source§impl ResolvedChromeLayout
impl ResolvedChromeLayout
pub fn get_posture(&self) -> ChromePosture
pub fn get_mut_posture(&mut self) -> &mut ChromePosture
pub fn set_posture(&mut self, val: ChromePosture) -> &mut Self
pub fn get_dock_placement(&self) -> NavDockPlacement
pub fn get_mut_dock_placement(&mut self) -> &mut NavDockPlacement
pub fn set_dock_placement(&mut self, val: NavDockPlacement) -> &mut Self
pub fn get_dock_orientation(&self) -> NavDockOrientation
pub fn get_mut_dock_orientation(&mut self) -> &mut NavDockOrientation
pub fn set_dock_orientation(&mut self, val: NavDockOrientation) -> &mut Self
pub fn get_dock_icon_only(&self) -> bool
pub fn get_mut_dock_icon_only(&mut self) -> &mut bool
pub fn set_dock_icon_only(&mut self, val: bool) -> &mut Self
pub fn get_dock_frameless(&self) -> bool
pub fn get_mut_dock_frameless(&mut self) -> &mut bool
pub fn set_dock_frameless(&mut self, val: bool) -> &mut Self
pub fn get_dock_allow_auto_hide(&self) -> bool
pub fn get_mut_dock_allow_auto_hide(&mut self) -> &mut bool
pub fn set_dock_allow_auto_hide(&mut self, val: bool) -> &mut Self
pub fn get_top_bar_in_safe_area(&self) -> bool
pub fn get_mut_top_bar_in_safe_area(&mut self) -> &mut bool
pub fn set_top_bar_in_safe_area(&mut self, val: bool) -> &mut Self
pub fn get_top_bar_allow_auto_hide(&self) -> bool
pub fn get_mut_top_bar_allow_auto_hide(&mut self) -> &mut bool
pub fn set_top_bar_allow_auto_hide(&mut self, val: bool) -> &mut Self
pub fn get_show_dock(&self) -> bool
pub fn get_mut_show_dock(&mut self) -> &mut bool
pub fn set_show_dock(&mut self, val: bool) -> &mut Self
pub fn get_dock_left(&self) -> f32
pub fn get_mut_dock_left(&mut self) -> &mut f32
pub fn set_dock_left(&mut self, val: f32) -> &mut Self
pub fn get_dock_top(&self) -> Option<f32>
pub fn try_get_dock_top(&self) -> Option<f32>
pub fn get_mut_dock_top(&mut self) -> &mut Option<f32>
pub fn set_dock_top(&mut self, val: Option<f32>) -> &mut Self
pub fn get_dock_bottom(&self) -> Option<f32>
pub fn try_get_dock_bottom(&self) -> Option<f32>
pub fn get_mut_dock_bottom(&mut self) -> &mut Option<f32>
pub fn set_dock_bottom(&mut self, val: Option<f32>) -> &mut Self
pub fn get_dock_width(&self) -> f32
pub fn get_mut_dock_width(&mut self) -> &mut f32
pub fn set_dock_width(&mut self, val: f32) -> &mut Self
pub fn get_dock_height(&self) -> f32
pub fn get_mut_dock_height(&mut self) -> &mut f32
pub fn set_dock_height(&mut self, val: f32) -> &mut Self
pub fn get_dock_hide_dx(&self) -> f32
pub fn get_mut_dock_hide_dx(&mut self) -> &mut f32
pub fn set_dock_hide_dx(&mut self, val: f32) -> &mut Self
pub fn get_dock_hide_dy(&self) -> f32
pub fn get_mut_dock_hide_dy(&mut self) -> &mut f32
pub fn set_dock_hide_dy(&mut self, val: f32) -> &mut Self
pub fn get_mobile_header_top_inset(&self) -> f32
pub fn get_mut_mobile_header_top_inset(&mut self) -> &mut f32
pub fn set_mobile_header_top_inset(&mut self, val: f32) -> &mut Self
pub fn get_mobile_header_height(&self) -> f32
pub fn get_mut_mobile_header_height(&mut self) -> &mut f32
pub fn set_mobile_header_height(&mut self, val: f32) -> &mut Self
pub fn get_mobile_header_padding(&self) -> Edges
pub fn get_mut_mobile_header_padding(&mut self) -> &mut Edges
pub fn set_mobile_header_padding(&mut self, val: Edges) -> &mut Self
pub fn get_route_stage_insets(&self) -> Edges
pub fn get_mut_route_stage_insets(&mut self) -> &mut Edges
pub fn set_route_stage_insets(&mut self, val: Edges) -> &mut Self
pub fn get_content_extra_bottom_pad(&self) -> f32
pub fn get_mut_content_extra_bottom_pad(&mut self) -> &mut f32
pub fn set_content_extra_bottom_pad(&mut self, val: f32) -> &mut Self
pub fn get_top_divider_left_inset(&self) -> f32
pub fn get_mut_top_divider_left_inset(&mut self) -> &mut f32
pub fn set_top_divider_left_inset(&mut self, val: f32) -> &mut Self
pub fn get_top_divider_right_inset(&self) -> f32
pub fn get_mut_top_divider_right_inset(&mut self) -> &mut f32
pub fn set_top_divider_right_inset(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for ResolvedChromeLayout
impl Clone for ResolvedChromeLayout
impl Copy for ResolvedChromeLayout
Source§impl Debug for ResolvedChromeLayout
impl Debug for ResolvedChromeLayout
Source§impl Default for ResolvedChromeLayout
impl Default for ResolvedChromeLayout
Source§impl PartialEq for ResolvedChromeLayout
impl PartialEq for ResolvedChromeLayout
impl StructuralPartialEq for ResolvedChromeLayout
Auto Trait Implementations§
impl Forget for ResolvedChromeLayout
impl Freeze for ResolvedChromeLayout
impl Move for ResolvedChromeLayout
impl RefUnwindSafe for ResolvedChromeLayout
impl Send for ResolvedChromeLayout
impl Sync for ResolvedChromeLayout
impl Unpin for ResolvedChromeLayout
impl UnsafeUnpin for ResolvedChromeLayout
impl UnwindSafe for ResolvedChromeLayout
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