pub struct SensorConfiguration { /* private fields */ }
Implementations§
Source§impl SensorConfiguration
impl SensorConfiguration
pub fn new() -> Self
pub fn from_ptr(ptr: NonNull<libcamera_sensor_configuration_t>) -> Self
pub fn set_bit_depth(&mut self, depth: u32)
pub fn set_output_size(&mut self, width: u32, height: u32)
Trait Implementations§
Source§impl Default for SensorConfiguration
impl Default for SensorConfiguration
Auto Trait Implementations§
impl Freeze for SensorConfiguration
impl RefUnwindSafe for SensorConfiguration
impl !Send for SensorConfiguration
impl !Sync for SensorConfiguration
impl Unpin for SensorConfiguration
impl UnwindSafe for SensorConfiguration
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