pub struct ClampLayoutBuilder { /* private fields */ }Expand description
A builder-pattern type to construct ClampLayout objects.
Implementations§
Source§impl ClampLayoutBuilder
impl ClampLayoutBuilder
pub fn maximum_size(self, maximum_size: i32) -> Self
pub fn tightening_threshold(self, tightening_threshold: i32) -> Self
pub fn unit(self, unit: LengthUnit) -> Self
pub fn orientation(self, orientation: Orientation) -> Self
Sourcepub fn build(self) -> ClampLayout
pub fn build(self) -> ClampLayout
Build the ClampLayout.
Auto Trait Implementations§
impl Freeze for ClampLayoutBuilder
impl RefUnwindSafe for ClampLayoutBuilder
impl !Send for ClampLayoutBuilder
impl !Sync for ClampLayoutBuilder
impl Unpin for ClampLayoutBuilder
impl UnwindSafe for ClampLayoutBuilder
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