#[repr(C)]pub struct CcapResolution {
pub width: u32,
pub height: u32,
}Expand description
@brief Resolution structure
Fields§
§width: u32§height: u32Trait Implementations§
Source§impl Clone for CcapResolution
impl Clone for CcapResolution
Source§fn clone(&self) -> CcapResolution
fn clone(&self) -> CcapResolution
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 CcapResolution
impl Debug for CcapResolution
Source§impl Default for CcapResolution
impl Default for CcapResolution
Source§fn default() -> CcapResolution
fn default() -> CcapResolution
Returns the “default value” for a type. Read more
Source§impl From<CcapResolution> for Resolution
impl From<CcapResolution> for Resolution
Source§fn from(res: CcapResolution) -> Self
fn from(res: CcapResolution) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CcapResolution
impl PartialEq for CcapResolution
impl Copy for CcapResolution
impl Eq for CcapResolution
impl StructuralPartialEq for CcapResolution
Auto Trait Implementations§
impl Freeze for CcapResolution
impl RefUnwindSafe for CcapResolution
impl Send for CcapResolution
impl Sync for CcapResolution
impl Unpin for CcapResolution
impl UnwindSafe for CcapResolution
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