#[repr(C)]pub struct libcamera_stream_configuration {
pub pixel_format: libcamera_pixel_format_t,
pub size: libcamera_size_t,
pub stride: c_uint,
pub frame_size: c_uint,
pub buffer_count: c_uint,
}
Fields§
§pixel_format: libcamera_pixel_format_t
§size: libcamera_size_t
§stride: c_uint
§frame_size: c_uint
§buffer_count: c_uint
Trait Implementations§
source§impl Clone for libcamera_stream_configuration
impl Clone for libcamera_stream_configuration
source§fn clone(&self) -> libcamera_stream_configuration
fn clone(&self) -> libcamera_stream_configuration
Returns a copy 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 moreimpl Copy for libcamera_stream_configuration
Auto Trait Implementations§
impl Freeze for libcamera_stream_configuration
impl RefUnwindSafe for libcamera_stream_configuration
impl Send for libcamera_stream_configuration
impl Sync for libcamera_stream_configuration
impl Unpin for libcamera_stream_configuration
impl UnwindSafe for libcamera_stream_configuration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)