pub struct Front {
pub a: [f64; 2],
pub b: [f64; 2],
pub n: [f64; 2],
pub anchored: bool,
}Expand description
One broken front: a straight segment a → b, excited on the n side.
Fields§
§a: [f64; 2]§b: [f64; 2]§n: [f64; 2]Unit normal: the direction the front propagates.
anchored: boolb was extended to the wall, leaving a as the only free end.
Trait Implementations§
impl Copy for Front
impl StructuralPartialEq for Front
Auto Trait Implementations§
impl Forget for Front
impl Freeze for Front
impl Move for Front
impl RefUnwindSafe for Front
impl Send for Front
impl Sync for Front
impl Unpin for Front
impl UnsafeUnpin for Front
impl UnwindSafe for Front
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