pub struct Model3d {
pub u3d: Vec<u8>,
pub nodes: Vec<String>,
pub views: Vec<View3d>,
pub annotations: usize,
}Expand description
The file’s 3D content: the U3D bytes, the node names in stream order, and every saved view that has a camera.
Fields§
§u3d: Vec<u8>§nodes: Vec<String>§views: Vec<View3d>§annotations: usizeHow many annotations are drawn, over every view.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Model3d
Auto Trait Implementations§
impl Freeze for Model3d
impl RefUnwindSafe for Model3d
impl Send for Model3d
impl Sync for Model3d
impl Unpin for Model3d
impl UnsafeUnpin for Model3d
impl UnwindSafe for Model3d
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more