#[repr(C)]pub struct ComplexNumberAffinityBuilder<'shape> { /* private fields */ }Expand description
Builder for ComplexNumberAffinity
Implementations§
Source§impl<'shape> ComplexNumberAffinityBuilder<'shape>
impl<'shape> ComplexNumberAffinityBuilder<'shape>
Sourcepub const fn cartesian(self, component: NumberAffinity<'shape>) -> Self
pub const fn cartesian(self, component: NumberAffinity<'shape>) -> Self
sets the coordinates system to be cartesian
Sourcepub const fn polar(
self,
absolute: NumberAffinity<'shape>,
bearing: NumberAffinity<'shape>,
) -> Self
pub const fn polar( self, absolute: NumberAffinity<'shape>, bearing: NumberAffinity<'shape>, ) -> Self
sets the coordinates system to be polar
Sourcepub const fn build(self) -> ScalarAffinity<'shape>
pub const fn build(self) -> ScalarAffinity<'shape>
Builds the ScalarAffinity
Auto Trait Implementations§
impl<'shape> Freeze for ComplexNumberAffinityBuilder<'shape>
impl<'shape> RefUnwindSafe for ComplexNumberAffinityBuilder<'shape>
impl<'shape> Send for ComplexNumberAffinityBuilder<'shape>
impl<'shape> Sync for ComplexNumberAffinityBuilder<'shape>
impl<'shape> Unpin for ComplexNumberAffinityBuilder<'shape>
impl<'shape> UnwindSafe for ComplexNumberAffinityBuilder<'shape>
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