pub struct BarColPropsBuilder<'__a, __col = col> { /* private fields */ }Expand description
Typestate builder for BarColProps, created by BarColProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a, __col> BarColPropsBuilder<'__a, __col>
impl<'__a, __col> BarColPropsBuilder<'__a, __col>
Sourcepub fn col(self, col: &'__a Col) -> BarColPropsBuilder<'__a, Set>
pub fn col(self, col: &'__a Col) -> BarColPropsBuilder<'__a, Set>
Sets the col property.
Sourcepub fn build(self) -> BarColProps<'__a>where
__col: IsSet,
pub fn build(self) -> BarColProps<'__a>where
__col: IsSet,
Builds the props struct from the set properties.
Only available once every required property has been set.
#[default] properties that were not set are filled with
Default::default(), or the #[default(expr)] expression.
Auto Trait Implementations§
impl<'__a, __col> Freeze for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> RefUnwindSafe for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> Send for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> Sync for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> Unpin for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> UnsafeUnpin for BarColPropsBuilder<'__a, __col>
impl<'__a, __col> UnwindSafe for BarColPropsBuilder<'__a, __col>
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