#[repr(u32)]pub enum ScrollBarPolicy {
AsNeeded = 0,
AlwaysOff = 1,
AlwaysOn = 2,
}
Expand description
This enum describes the scrollbar visibility
Variants§
AsNeeded = 0
Scrollbar will be visible only when needed
AlwaysOff = 1
Scrollbar never shown
AlwaysOn = 2
Scrollbar always visible
Trait Implementations§
Source§impl Clone for ScrollBarPolicy
impl Clone for ScrollBarPolicy
Source§fn clone(&self) -> ScrollBarPolicy
fn clone(&self) -> ScrollBarPolicy
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 ScrollBarPolicy
impl Debug for ScrollBarPolicy
Source§impl Default for ScrollBarPolicy
impl Default for ScrollBarPolicy
Source§impl Display for ScrollBarPolicy
impl Display for ScrollBarPolicy
Source§impl FromStr for ScrollBarPolicy
impl FromStr for ScrollBarPolicy
Source§impl Hash for ScrollBarPolicy
impl Hash for ScrollBarPolicy
Source§impl PartialEq for ScrollBarPolicy
impl PartialEq for ScrollBarPolicy
Source§impl TryFrom<&str> for ScrollBarPolicy
impl TryFrom<&str> for ScrollBarPolicy
impl Copy for ScrollBarPolicy
impl Eq for ScrollBarPolicy
impl StructuralPartialEq for ScrollBarPolicy
Auto Trait Implementations§
impl Freeze for ScrollBarPolicy
impl RefUnwindSafe for ScrollBarPolicy
impl Send for ScrollBarPolicy
impl Sync for ScrollBarPolicy
impl Unpin for ScrollBarPolicy
impl UnwindSafe for ScrollBarPolicy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.