pub struct MakeOffsetPathBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> MakeOffsetPathBuilder<S>
impl<S: State> MakeOffsetPathBuilder<S>
Sourcepub fn build(self) -> MakeOffsetPathwhere
S: IsComplete,
pub fn build(self) -> MakeOffsetPathwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn object_id(self, value: Uuid) -> MakeOffsetPathBuilder<SetObjectId<S>>where
S::ObjectId: IsUnset,
pub fn object_id(self, value: Uuid) -> MakeOffsetPathBuilder<SetObjectId<S>>where
S::ObjectId: IsUnset,
Required.
The object that will be offset (can be a path, sketch, or a solid)
Sourcepub fn face_id(self, value: Uuid) -> MakeOffsetPathBuilder<SetFaceId<S>>where
S::FaceId: IsUnset,
pub fn face_id(self, value: Uuid) -> MakeOffsetPathBuilder<SetFaceId<S>>where
S::FaceId: IsUnset,
Optional (Some / Option setters).
If the object is a solid, this is the ID of the face to base the offset on.
If given, and object_id refers to a solid, then this face on the solid will be offset.
If given but object_id doesn’t refer to a solid, responds with an error.
If not given, then object_id itself will be offset directly.
Sourcepub fn maybe_face_id(
self,
value: Option<Uuid>,
) -> MakeOffsetPathBuilder<SetFaceId<S>>where
S::FaceId: IsUnset,
pub fn maybe_face_id(
self,
value: Option<Uuid>,
) -> MakeOffsetPathBuilder<SetFaceId<S>>where
S::FaceId: IsUnset,
Optional (Some / Option setters).
If the object is a solid, this is the ID of the face to base the offset on.
If given, and object_id refers to a solid, then this face on the solid will be offset.
If given but object_id doesn’t refer to a solid, responds with an error.
If not given, then object_id itself will be offset directly.
Sourcepub fn offset(self, value: LengthUnit) -> MakeOffsetPathBuilder<SetOffset<S>>where
S::Offset: IsUnset,
pub fn offset(self, value: LengthUnit) -> MakeOffsetPathBuilder<SetOffset<S>>where
S::Offset: IsUnset,
Required.
The distance to offset the path (positive for outset, negative for inset)
Auto Trait Implementations§
impl<S> Freeze for MakeOffsetPathBuilder<S>
impl<S> RefUnwindSafe for MakeOffsetPathBuilder<S>
impl<S> Send for MakeOffsetPathBuilder<S>
impl<S> Sync for MakeOffsetPathBuilder<S>
impl<S> Unpin for MakeOffsetPathBuilder<S>
impl<S> UnwindSafe for MakeOffsetPathBuilder<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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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