pub struct AnnotationMbdControlFrameBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> AnnotationMbdControlFrameBuilder<S>
impl<S: State> AnnotationMbdControlFrameBuilder<S>
Sourcepub fn build(self) -> AnnotationMbdControlFramewhere
S: IsComplete,
pub fn build(self) -> AnnotationMbdControlFramewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn symbol(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetSymbol<S>>where
S::Symbol: IsUnset,
pub fn symbol(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetSymbol<S>>where
S::Symbol: IsUnset,
Required.
Geometric symbol, the type of geometric control specified
Sourcepub fn diameter_symbol(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetDiameterSymbol<S>>where
S::DiameterSymbol: IsUnset,
pub fn diameter_symbol(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetDiameterSymbol<S>>where
S::DiameterSymbol: IsUnset,
Sourcepub fn maybe_diameter_symbol(
self,
value: Option<MbdSymbol>,
) -> AnnotationMbdControlFrameBuilder<SetDiameterSymbol<S>>where
S::DiameterSymbol: IsUnset,
pub fn maybe_diameter_symbol(
self,
value: Option<MbdSymbol>,
) -> AnnotationMbdControlFrameBuilder<SetDiameterSymbol<S>>where
S::DiameterSymbol: IsUnset,
Sourcepub fn tolerance(
self,
value: f64,
) -> AnnotationMbdControlFrameBuilder<SetTolerance<S>>where
S::Tolerance: IsUnset,
pub fn tolerance(
self,
value: f64,
) -> AnnotationMbdControlFrameBuilder<SetTolerance<S>>where
S::Tolerance: IsUnset,
Required.
Tolerance value - the total tolerance of the geometric control. The unit is based on the drawing standard.
Sourcepub fn modifier(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetModifier<S>>where
S::Modifier: IsUnset,
pub fn modifier(
self,
value: MbdSymbol,
) -> AnnotationMbdControlFrameBuilder<SetModifier<S>>where
S::Modifier: IsUnset,
Sourcepub fn maybe_modifier(
self,
value: Option<MbdSymbol>,
) -> AnnotationMbdControlFrameBuilder<SetModifier<S>>where
S::Modifier: IsUnset,
pub fn maybe_modifier(
self,
value: Option<MbdSymbol>,
) -> AnnotationMbdControlFrameBuilder<SetModifier<S>>where
S::Modifier: IsUnset,
Sourcepub fn primary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetPrimaryDatum<S>>where
S::PrimaryDatum: IsUnset,
pub fn primary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetPrimaryDatum<S>>where
S::PrimaryDatum: IsUnset,
Sourcepub fn maybe_primary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetPrimaryDatum<S>>where
S::PrimaryDatum: IsUnset,
pub fn maybe_primary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetPrimaryDatum<S>>where
S::PrimaryDatum: IsUnset,
Sourcepub fn secondary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetSecondaryDatum<S>>where
S::SecondaryDatum: IsUnset,
pub fn secondary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetSecondaryDatum<S>>where
S::SecondaryDatum: IsUnset,
Sourcepub fn maybe_secondary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetSecondaryDatum<S>>where
S::SecondaryDatum: IsUnset,
pub fn maybe_secondary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetSecondaryDatum<S>>where
S::SecondaryDatum: IsUnset,
Sourcepub fn tertiary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetTertiaryDatum<S>>where
S::TertiaryDatum: IsUnset,
pub fn tertiary_datum(
self,
value: char,
) -> AnnotationMbdControlFrameBuilder<SetTertiaryDatum<S>>where
S::TertiaryDatum: IsUnset,
Sourcepub fn maybe_tertiary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetTertiaryDatum<S>>where
S::TertiaryDatum: IsUnset,
pub fn maybe_tertiary_datum(
self,
value: Option<char>,
) -> AnnotationMbdControlFrameBuilder<SetTertiaryDatum<S>>where
S::TertiaryDatum: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for AnnotationMbdControlFrameBuilder<S>
impl<S> RefUnwindSafe for AnnotationMbdControlFrameBuilder<S>
impl<S> Send for AnnotationMbdControlFrameBuilder<S>
impl<S> Sync for AnnotationMbdControlFrameBuilder<S>
impl<S> Unpin for AnnotationMbdControlFrameBuilder<S>
impl<S> UnsafeUnpin for AnnotationMbdControlFrameBuilder<S>
impl<S> UnwindSafe for AnnotationMbdControlFrameBuilder<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more