Struct dae_parser::Optics
source · [−]pub struct Optics {
pub ty: ProjectionType,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Represents the apparatus on a camera that projects the image onto the image sensor.
Fields
ty: ProjectionType
The projection type.
technique: Vec<Technique>
Declares the information used to process some portion of the content. (optional)
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
sourceimpl Optics
impl Optics
sourcepub fn new(ty: ProjectionType) -> Self
pub fn new(ty: ProjectionType) -> Self
Construct a new Optics
from the given projection type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Optics
impl Send for Optics
impl Sync for Optics
impl Unpin for Optics
impl UnwindSafe for Optics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more