pub struct TopAppBarConfig {
pub modifier: Modifier,
pub colors: TopAppBarColors,
pub height: f32,
pub scroll_fraction: f32,
pub scroll_offset: f32,
pub window_insets: WindowInsets,
pub content_padding: PaddingValues,
}Expand description
Configuration for TopAppBar.
Fields§
§modifier: Modifier§colors: TopAppBarColors§height: f32§scroll_fraction: f32§scroll_offset: f32Vertical translate offset (negative = collapsed upward).
Set this from TopAppBarScrollBehavior::collapsed_offset.
window_insets: WindowInsets§content_padding: PaddingValuesTrait Implementations§
Source§impl Clone for TopAppBarConfig
impl Clone for TopAppBarConfig
Source§fn clone(&self) -> TopAppBarConfig
fn clone(&self) -> TopAppBarConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TopAppBarConfig
impl Debug for TopAppBarConfig
Auto Trait Implementations§
impl !RefUnwindSafe for TopAppBarConfig
impl !Send for TopAppBarConfig
impl !Sync for TopAppBarConfig
impl !UnwindSafe for TopAppBarConfig
impl Freeze for TopAppBarConfig
impl Unpin for TopAppBarConfig
impl UnsafeUnpin for TopAppBarConfig
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