pub struct Builder<T>(/* private fields */);Expand description
A builder for AlignmentConfiguration
Implementations§
Source§impl Builder<FillStrategyStage>
impl Builder<FillStrategyStage>
Sourcepub fn fill_strategy(
self,
fill_strategy: FillStrategy,
) -> Builder<AlignmentStage>
pub fn fill_strategy( self, fill_strategy: FillStrategy, ) -> Builder<AlignmentStage>
Sets the fill_strategy field.
Source§impl Builder<AlignmentStage>
impl Builder<AlignmentStage>
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn fill_strategy(self, fill_strategy: FillStrategy) -> Self
pub fn fill_strategy(self, fill_strategy: FillStrategy) -> Self
Sets the fill_strategy field.
Sourcepub fn build(self) -> AlignmentConfiguration
pub fn build(self) -> AlignmentConfiguration
Consumes the builder, returning a AlignmentConfiguration.
Trait Implementations§
Source§impl Default for Builder<FillStrategyStage>
impl Default for Builder<FillStrategyStage>
Source§impl From<AlignmentConfiguration> for Builder<Complete>
impl From<AlignmentConfiguration> for Builder<Complete>
Source§fn from(v: AlignmentConfiguration) -> Self
fn from(v: AlignmentConfiguration) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnsafeUnpin for Builder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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