#[repr(C, packed(1))]pub struct PsFrameMode {
pub pixelFormat: PsPixelFormat,
pub resolutionWidth: i32,
pub resolutionHeight: i32,
pub fps: i32,
}Expand description
@brief Specifies the frame mode including the pixel format, resolution, and frame rate.
Fields§
§pixelFormat: PsPixelFormat!< The pixel format used by a frame.
resolutionWidth: i32!< The width of the image, in pixels.
resolutionHeight: i32!< The height of the image, in pixels.
fps: i32!< The image stream frame rate.
Trait Implementations§
Source§impl Clone for PsFrameMode
impl Clone for PsFrameMode
Source§fn clone(&self) -> PsFrameMode
fn clone(&self) -> PsFrameMode
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 moreimpl Copy for PsFrameMode
Source§impl Debug for PsFrameMode
impl Debug for PsFrameMode
Auto Trait Implementations§
impl Freeze for PsFrameMode
impl RefUnwindSafe for PsFrameMode
impl Send for PsFrameMode
impl Sync for PsFrameMode
impl Unpin for PsFrameMode
impl UnsafeUnpin for PsFrameMode
impl UnwindSafe for PsFrameMode
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