pub struct NavigationRailDefaults;Expand description
Default values for navigation rail.
Implementations§
pub const WIDTH: f32 = 80.0
pub const ITEM_RADIUS: f32 = 16.0
pub const ITEM_MIN_HEIGHT: f32 = 56.0
pub const ITEM_ACTIVE_INDICATOR_OPACITY: f32 = 1.0
pub const ITEM_SPACING: f32 = 4.0
pub const ACTIVE_INDICATOR_WIDTH: f32 = 56.0
pub const ACTIVE_INDICATOR_HEIGHT: f32 = 32.0
pub fn container_color() -> Color
pub fn selected_icon_color() -> Color
pub fn selected_text_color() -> Color
pub fn unselected_icon_color() -> Color
pub fn unselected_text_color() -> Color
pub fn indicator_color() -> Color
Auto Trait Implementations§
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