pub struct LineFrame {
pub center: Point,
pub direction: Point,
pub half_length: f32,
}Expand description
Where a pixel sits relative to a LineGeometry: its midpoint, the unit
direction from start to end, and half its length.
Fields§
§center: Point§direction: Point§half_length: f32Trait Implementations§
impl Copy for LineFrame
impl StructuralPartialEq for LineFrame
Auto Trait Implementations§
impl Freeze for LineFrame
impl RefUnwindSafe for LineFrame
impl Send for LineFrame
impl Sync for LineFrame
impl Unpin for LineFrame
impl UnsafeUnpin for LineFrame
impl UnwindSafe for LineFrame
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