pub enum CollapseMode {
Parallax,
Pin,
None,
}Expand description
The collapsing effect while the space bar collapses from its full size.
Variants§
Parallax
The background widget will scroll in a parallax fashion.
Pin
The background widget pin in place until it reaches the min extent.
None
The background widget will act as normal with no collapsing effect.
Trait Implementations§
Source§impl Clone for CollapseMode
impl Clone for CollapseMode
impl Copy for CollapseMode
Source§impl Debug for CollapseMode
impl Debug for CollapseMode
impl Eq for CollapseMode
Source§impl PartialEq for CollapseMode
impl PartialEq for CollapseMode
impl StructuralPartialEq for CollapseMode
Auto Trait Implementations§
impl Forget for CollapseMode
impl Freeze for CollapseMode
impl Move for CollapseMode
impl RefUnwindSafe for CollapseMode
impl Send for CollapseMode
impl Sync for CollapseMode
impl Unpin for CollapseMode
impl UnsafeUnpin for CollapseMode
impl UnwindSafe for CollapseMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.