Struct gtk4::builders::AdjustmentBuilder
source · pub struct AdjustmentBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Adjustment
objects.
Implementations§
source§impl AdjustmentBuilder
impl AdjustmentBuilder
pub fn lower(self, lower: f64) -> Self
pub fn page_increment(self, page_increment: f64) -> Self
pub fn page_size(self, page_size: f64) -> Self
pub fn step_increment(self, step_increment: f64) -> Self
pub fn upper(self, upper: f64) -> Self
pub fn value(self, value: f64) -> Self
sourcepub fn build(self) -> Adjustment
pub fn build(self) -> Adjustment
Build the Adjustment
.
Auto Trait Implementations§
impl RefUnwindSafe for AdjustmentBuilder
impl !Send for AdjustmentBuilder
impl !Sync for AdjustmentBuilder
impl Unpin for AdjustmentBuilder
impl UnwindSafe for AdjustmentBuilder
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