Enum rat_widget::scrolled::VScrollPosition
source · pub enum VScrollPosition {
Left,
Right,
}Expand description
Position of the vertical scrollbar.
Variants§
Implementations§
source§impl VScrollPosition
impl VScrollPosition
sourcepub fn orientation(&self) -> ScrollbarOrientation
pub fn orientation(&self) -> ScrollbarOrientation
Convert to ScrollbarOrientation.
Trait Implementations§
source§impl Clone for VScrollPosition
impl Clone for VScrollPosition
source§fn clone(&self) -> VScrollPosition
fn clone(&self) -> VScrollPosition
Returns a copy of the value. Read more
1.0.0 · 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 VScrollPosition
impl Debug for VScrollPosition
source§impl Default for VScrollPosition
impl Default for VScrollPosition
source§fn default() -> VScrollPosition
fn default() -> VScrollPosition
Returns the “default value” for a type. Read more
source§impl PartialEq for VScrollPosition
impl PartialEq for VScrollPosition
source§fn eq(&self, other: &VScrollPosition) -> bool
fn eq(&self, other: &VScrollPosition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for VScrollPosition
impl Eq for VScrollPosition
impl StructuralPartialEq for VScrollPosition
Auto Trait Implementations§
impl Freeze for VScrollPosition
impl RefUnwindSafe for VScrollPosition
impl Send for VScrollPosition
impl Sync for VScrollPosition
impl Unpin for VScrollPosition
impl UnwindSafe for VScrollPosition
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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