pub struct StereoscopicCamera { /* private fields */ }Expand description
Wraps the corresponding Model I/O stereoscopic camera counterpart.
Implementations§
Source§impl StereoscopicCamera
impl StereoscopicCamera
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O stereoscopic camera counterpart.
Sourcepub fn info(&self) -> Result<StereoscopicCameraInfo>
pub fn info(&self) -> Result<StereoscopicCameraInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O stereoscopic camera counterpart.
Sourcepub fn set_inter_pupillary_distance(&self, value: f32)
pub fn set_inter_pupillary_distance(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O stereoscopic camera counterpart.
Sourcepub fn set_left_vergence(&self, value: f32)
pub fn set_left_vergence(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O stereoscopic camera counterpart.
Sourcepub fn set_right_vergence(&self, value: f32)
pub fn set_right_vergence(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O stereoscopic camera counterpart.
Sourcepub fn set_overlap(&self, value: f32)
pub fn set_overlap(&self, value: f32)
Calls the corresponding Model I/O method on the wrapped Model I/O stereoscopic camera counterpart.
Trait Implementations§
Source§impl Clone for StereoscopicCamera
impl Clone for StereoscopicCamera
Source§fn clone(&self) -> StereoscopicCamera
fn clone(&self) -> StereoscopicCamera
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StereoscopicCamera
impl RefUnwindSafe for StereoscopicCamera
impl !Send for StereoscopicCamera
impl !Sync for StereoscopicCamera
impl Unpin for StereoscopicCamera
impl UnsafeUnpin for StereoscopicCamera
impl UnwindSafe for StereoscopicCamera
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