pub struct SlicePathPropsBuilder<'__a, __slice = slice> { /* private fields */ }Expand description
Typestate builder for SlicePathProps, created by SlicePathProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a, __slice> SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> SlicePathPropsBuilder<'__a, __slice>
Sourcepub fn slice(self, slice: &'__a SliceGeom) -> SlicePathPropsBuilder<'__a, Set>
pub fn slice(self, slice: &'__a SliceGeom) -> SlicePathPropsBuilder<'__a, Set>
Sets the slice property.
Sourcepub fn build(self) -> SlicePathProps<'__a>where
__slice: IsSet,
pub fn build(self) -> SlicePathProps<'__a>where
__slice: 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, __slice> Freeze for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> RefUnwindSafe for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> Send for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> Sync for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> Unpin for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> UnsafeUnpin for SlicePathPropsBuilder<'__a, __slice>
impl<'__a, __slice> UnwindSafe for SlicePathPropsBuilder<'__a, __slice>
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