pub enum PropertyName {
Width,
Height,
FrameRate,
PixelFormatInternal,
PixelFormatOutput,
FrameOrientation,
}Expand description
Camera property enumeration
Variants§
Width
Width property
Height
Height property
FrameRate
Frame rate property
PixelFormatInternal
Internal pixel format property
PixelFormatOutput
Output pixel format property
FrameOrientation
Frame orientation property
Implementations§
Source§impl PropertyName
impl PropertyName
Sourcepub fn to_c_enum(self) -> CcapPropertyName
pub fn to_c_enum(self) -> CcapPropertyName
Convert property name to C enum
Trait Implementations§
Source§impl Clone for PropertyName
impl Clone for PropertyName
Source§fn clone(&self) -> PropertyName
fn clone(&self) -> PropertyName
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 PropertyName
impl Debug for PropertyName
Source§impl From<PropertyName> for CcapPropertyName
impl From<PropertyName> for CcapPropertyName
Source§fn from(prop: PropertyName) -> Self
fn from(prop: PropertyName) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PropertyName
impl PartialEq for PropertyName
impl Copy for PropertyName
impl Eq for PropertyName
impl StructuralPartialEq for PropertyName
Auto Trait Implementations§
impl Freeze for PropertyName
impl RefUnwindSafe for PropertyName
impl Send for PropertyName
impl Sync for PropertyName
impl Unpin for PropertyName
impl UnwindSafe for PropertyName
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