Struct FoldState
pub struct FoldState { /* private fields */ }Expand description
A fold assignment with an angle.
Implementations§
§impl FoldState
impl FoldState
pub const fn new(assignment: FoldAssignment, angle: Angle) -> FoldState
pub const fn new(assignment: FoldAssignment, angle: Angle) -> FoldState
Creates a fold state.
pub const fn assignment(self) -> FoldAssignment
pub const fn assignment(self) -> FoldAssignment
Returns the assignment.
Trait Implementations§
impl Copy for FoldState
impl StructuralPartialEq for FoldState
Auto Trait Implementations§
impl Freeze for FoldState
impl RefUnwindSafe for FoldState
impl Send for FoldState
impl Sync for FoldState
impl Unpin for FoldState
impl UnsafeUnpin for FoldState
impl UnwindSafe for FoldState
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