pub struct IoSurfaceFrame {
pub width: u32,
pub height: u32,
pub scale_factor: f64,
pub slot: u32,
pub surface: *mut c_void,
}Expand description
The IOSurface of an acquired frame.
See mln_io_surface_frame in the
C API reference.
Fields§
§width: u32§height: u32§scale_factor: f64§slot: u32The surface’s index in the ring.
surface: *mut c_voidThe IOSurfaceRef.
Trait Implementations§
Source§impl Clone for IoSurfaceFrame
impl Clone for IoSurfaceFrame
Source§fn clone(&self) -> IoSurfaceFrame
fn clone(&self) -> IoSurfaceFrame
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 IoSurfaceFrame
Source§impl Debug for IoSurfaceFrame
impl Debug for IoSurfaceFrame
Source§impl Default for IoSurfaceFrame
impl Default for IoSurfaceFrame
Source§fn default() -> IoSurfaceFrame
fn default() -> IoSurfaceFrame
Returns the “default value” for a type. Read more
Source§impl PartialEq for IoSurfaceFrame
impl PartialEq for IoSurfaceFrame
impl StructuralPartialEq for IoSurfaceFrame
Auto Trait Implementations§
impl !Send for IoSurfaceFrame
impl !Sync for IoSurfaceFrame
impl Freeze for IoSurfaceFrame
impl RefUnwindSafe for IoSurfaceFrame
impl Unpin for IoSurfaceFrame
impl UnsafeUnpin for IoSurfaceFrame
impl UnwindSafe for IoSurfaceFrame
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more