pub struct BottomAppBarState { /* private fields */ }Expand description
Caller-owned bottom-bar offset, updated from content-consumed deltas.
Implementations§
Source§impl BottomAppBarState
impl BottomAppBarState
Sourcepub fn apply_scroll(
&mut self,
behavior: BottomAppBarScrollBehavior,
consumed: f32,
height: f32,
)
pub fn apply_scroll( &mut self, behavior: BottomAppBarScrollBehavior, consumed: f32, height: f32, )
Positive consumed scroll hides the bar; negative scroll reveals it.
Trait Implementations§
Source§impl Clone for BottomAppBarState
impl Clone for BottomAppBarState
impl Copy for BottomAppBarState
Source§impl Debug for BottomAppBarState
impl Debug for BottomAppBarState
Auto Trait Implementations§
impl Forget for BottomAppBarState
impl Freeze for BottomAppBarState
impl Move for BottomAppBarState
impl RefUnwindSafe for BottomAppBarState
impl Send for BottomAppBarState
impl Sync for BottomAppBarState
impl Unpin for BottomAppBarState
impl UnsafeUnpin for BottomAppBarState
impl UnwindSafe for BottomAppBarState
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