pub struct ScrollbarVBuilder { /* private fields */ }Expand description
Configuration handle returned by scrollbar_v.
Implementations§
Source§impl ScrollbarVBuilder
impl ScrollbarVBuilder
Sourcepub fn total_optional(&self, value: Option<Px>) -> Self
pub fn total_optional(&self, value: Option<Px>) -> Self
Configure total before this component executes.
Sourcepub fn visible_optional(&self, value: Option<Px>) -> Self
pub fn visible_optional(&self, value: Option<Px>) -> Self
Configure visible before this component executes.
Sourcepub fn offset_optional(&self, value: Option<Px>) -> Self
pub fn offset_optional(&self, value: Option<Px>) -> Self
Configure offset before this component executes.
Sourcepub fn thickness_optional(&self, value: Option<Dp>) -> Self
pub fn thickness_optional(&self, value: Option<Dp>) -> Self
Configure thickness before this component executes.
Sourcepub fn state(&self, value: State<ScrollableController>) -> Self
pub fn state(&self, value: State<ScrollableController>) -> Self
Configure state before this component executes.
Sourcepub fn state_optional(&self, value: Option<State<ScrollableController>>) -> Self
pub fn state_optional(&self, value: Option<State<ScrollableController>>) -> Self
Configure state before this component executes.
Sourcepub fn scrollbar_behavior(&self, value: ScrollBarBehavior) -> Self
pub fn scrollbar_behavior(&self, value: ScrollBarBehavior) -> Self
Configure scrollbar_behavior before this component executes.
Sourcepub fn scrollbar_behavior_optional(
&self,
value: Option<ScrollBarBehavior>,
) -> Self
pub fn scrollbar_behavior_optional( &self, value: Option<ScrollBarBehavior>, ) -> Self
Configure scrollbar_behavior before this component executes.
Sourcepub fn track_color(&self, value: Color) -> Self
pub fn track_color(&self, value: Color) -> Self
Configure track_color before this component executes.
Sourcepub fn track_color_optional(&self, value: Option<Color>) -> Self
pub fn track_color_optional(&self, value: Option<Color>) -> Self
Configure track_color before this component executes.
Sourcepub fn thumb_color(&self, value: Color) -> Self
pub fn thumb_color(&self, value: Color) -> Self
Configure thumb_color before this component executes.
Sourcepub fn thumb_color_optional(&self, value: Option<Color>) -> Self
pub fn thumb_color_optional(&self, value: Option<Color>) -> Self
Configure thumb_color before this component executes.
Sourcepub fn thumb_hover_color(&self, value: Color) -> Self
pub fn thumb_hover_color(&self, value: Color) -> Self
Configure thumb_hover_color before this component executes.
Sourcepub fn thumb_hover_color_optional(&self, value: Option<Color>) -> Self
pub fn thumb_hover_color_optional(&self, value: Option<Color>) -> Self
Configure thumb_hover_color before this component executes.
Sourcepub fn scrollbar_state(&self, value: ScrollBarState) -> Self
pub fn scrollbar_state(&self, value: ScrollBarState) -> Self
Configure scrollbar_state before this component executes.
Sourcepub fn scrollbar_state_optional(&self, value: Option<ScrollBarState>) -> Self
pub fn scrollbar_state_optional(&self, value: Option<ScrollBarState>) -> Self
Configure scrollbar_state before this component executes.
Auto Trait Implementations§
impl Freeze for ScrollbarVBuilder
impl RefUnwindSafe for ScrollbarVBuilder
impl Send for ScrollbarVBuilder
impl Sync for ScrollbarVBuilder
impl Unpin for ScrollbarVBuilder
impl UnsafeUnpin for ScrollbarVBuilder
impl UnwindSafe for ScrollbarVBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.