pub struct FoldState { /* private fields */ }Expand description
A fold assignment with an angle.
Implementations§
Source§impl FoldState
impl FoldState
Sourcepub const fn new(assignment: FoldAssignment, angle: Angle) -> Self
pub const fn new(assignment: FoldAssignment, angle: Angle) -> Self
Creates a fold state.
Sourcepub 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