pub struct Backtop { /* private fields */ }Implementations§
Source§impl Backtop
impl Backtop
pub fn new(scroll_handle: ScrollHandle) -> Self
pub fn id(self, id: impl Into<SharedString>) -> Self
pub fn visibility_height(self, h: impl Into<Pixels>) -> Self
pub fn visibility_height_sm(self) -> Self
pub fn right(self, r: impl Into<Pixels>) -> Self
pub fn right_lg(self) -> Self
pub fn bottom(self, b: impl Into<Pixels>) -> Self
pub fn content<F>(self, f: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Backtop
impl !Send for Backtop
impl !Sync for Backtop
impl !UnwindSafe for Backtop
impl Freeze for Backtop
impl Unpin for Backtop
impl UnsafeUnpin for Backtop
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more