Enum titanium::desktop::gui::libdruid::scroll_component::ScrollbarsEnabled
pub enum ScrollbarsEnabled {
None,
Horizontal,
Vertical,
Both,
}
Expand description
Which scroll bars of a scroll area are currently enabled.
Variants§
None
No scrollbars are enabled
Horizontal
Scrolling on the x axis is allowed
Vertical
Scrolling on the y axis is allowed
Both
Bidirectional scrolling is allowed
Implementations§
§impl ScrollbarsEnabled
impl ScrollbarsEnabled
pub fn set_horizontal_scrollbar_enabled(&mut self, enabled: bool)
pub fn set_horizontal_scrollbar_enabled(&mut self, enabled: bool)
Set whether the horizontal scrollbar is enabled.
pub fn set_vertical_scrollbar_enabled(&mut self, enabled: bool)
pub fn set_vertical_scrollbar_enabled(&mut self, enabled: bool)
Set whether the vertical scrollbar is enabled.
Trait Implementations§
§impl Clone for ScrollbarsEnabled
impl Clone for ScrollbarsEnabled
§fn clone(&self) -> ScrollbarsEnabled
fn clone(&self) -> ScrollbarsEnabled
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 more§impl Debug for ScrollbarsEnabled
impl Debug for ScrollbarsEnabled
§impl Default for ScrollbarsEnabled
impl Default for ScrollbarsEnabled
§fn default() -> ScrollbarsEnabled
fn default() -> ScrollbarsEnabled
Returns the “default value” for a type. Read more
impl Copy for ScrollbarsEnabled
Auto Trait Implementations§
impl RefUnwindSafe for ScrollbarsEnabled
impl Send for ScrollbarsEnabled
impl Sync for ScrollbarsEnabled
impl Unpin for ScrollbarsEnabled
impl UnwindSafe for ScrollbarsEnabled
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.