pub enum StretchMode {
ZoomBackground,
BlurBackground,
FadeTitle,
}Expand description
The stretching effect while the space bar stretches beyond its full size.
Variants§
ZoomBackground
The background widget will expand to fill the extra space.
BlurBackground
The background will blur using a ImageFilter::blur effect.
FadeTitle
The title will fade away as the user over-scrolls.
Trait Implementations§
Source§impl Clone for StretchMode
impl Clone for StretchMode
impl Copy for StretchMode
Source§impl Debug for StretchMode
impl Debug for StretchMode
impl Eq for StretchMode
Source§impl PartialEq for StretchMode
impl PartialEq for StretchMode
impl StructuralPartialEq for StretchMode
Auto Trait Implementations§
impl Forget for StretchMode
impl Freeze for StretchMode
impl Move for StretchMode
impl RefUnwindSafe for StretchMode
impl Send for StretchMode
impl Sync for StretchMode
impl Unpin for StretchMode
impl UnsafeUnpin for StretchMode
impl UnwindSafe for StretchMode
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.