#[repr(u32)]pub enum ColorResolution {
Off = 0,
_720p = 1,
_1080p = 2,
_1440p = 3,
_1536p = 4,
_2160p = 5,
_3072p = 6,
}Variants§
Implementations§
Source§impl ColorResolution
impl ColorResolution
Sourcepub fn get_dimension(&self) -> Dimension
pub fn get_dimension(&self) -> Dimension
Gets the dimensions of the color images that the color camera will produce for a given color resolution
Trait Implementations§
Source§impl Clone for ColorResolution
impl Clone for ColorResolution
Source§fn clone(&self) -> ColorResolution
fn clone(&self) -> ColorResolution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorResolution
impl Debug for ColorResolution
Source§impl From<ColorResolution> for k4a_color_resolution_t
impl From<ColorResolution> for k4a_color_resolution_t
Source§fn from(s: ColorResolution) -> Self
fn from(s: ColorResolution) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColorResolution
impl PartialEq for ColorResolution
impl Copy for ColorResolution
impl StructuralPartialEq for ColorResolution
Auto Trait Implementations§
impl Freeze for ColorResolution
impl RefUnwindSafe for ColorResolution
impl Send for ColorResolution
impl Sync for ColorResolution
impl Unpin for ColorResolution
impl UnwindSafe for ColorResolution
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