pub struct PlanarInfo { /* private fields */ }
Expand description
Information about a framebuffer (with modifiers)
Implementations§
source§impl PlanarInfo
impl PlanarInfo
sourcepub fn pixel_format(&self) -> DrmFourcc
pub fn pixel_format(&self) -> DrmFourcc
Returns the pixel format of this framebuffer.
sourcepub fn flags(&self) -> FbCmd2Flags
pub fn flags(&self) -> FbCmd2Flags
Returns the flags of this framebuffer.
sourcepub fn modifier(&self) -> Option<DrmModifier>
pub fn modifier(&self) -> Option<DrmModifier>
Returns the modifier of this framebuffer.
Trait Implementations§
source§impl Clone for PlanarInfo
impl Clone for PlanarInfo
source§fn clone(&self) -> PlanarInfo
fn clone(&self) -> PlanarInfo
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 moresource§impl Debug for PlanarInfo
impl Debug for PlanarInfo
source§impl Hash for PlanarInfo
impl Hash for PlanarInfo
source§impl PartialEq for PlanarInfo
impl PartialEq for PlanarInfo
impl Copy for PlanarInfo
impl Eq for PlanarInfo
impl StructuralPartialEq for PlanarInfo
Auto Trait Implementations§
impl Freeze for PlanarInfo
impl RefUnwindSafe for PlanarInfo
impl Send for PlanarInfo
impl Sync for PlanarInfo
impl Unpin for PlanarInfo
impl UnwindSafe for PlanarInfo
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
)