pub struct Extent<S: Scalar> {
pub center: Vector3<S>,
pub size: S,
}Expand description
Where the drawing is and how big: the center and diagonal (at least 1) of the box around it. Datum planes and axes, which are endless, are drawn this big around the point of them nearest the center.
Fields§
§center: Vector3<S>§size: STrait Implementations§
impl<S: Copy + Scalar> Copy for Extent<S>
impl<S: PartialEq + Scalar> StructuralPartialEq for Extent<S>
Auto Trait Implementations§
impl<S> Freeze for Extent<S>where
S: Freeze,
impl<S> RefUnwindSafe for Extent<S>where
S: RefUnwindSafe,
impl<S> Send for Extent<S>
impl<S> Sync for Extent<S>
impl<S> Unpin for Extent<S>where
S: Unpin,
impl<S> UnsafeUnpin for Extent<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Extent<S>where
S: UnwindSafe,
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