pub struct Framebuffer(_);Expand description
Implementations
sourceimpl Framebuffer
impl Framebuffer
pub const fn null() -> Framebuffer
Trait Implementations
sourceimpl Clone for Framebuffer
impl Clone for Framebuffer
sourcefn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Framebuffer
impl Debug for Framebuffer
sourceimpl Default for Framebuffer
impl Default for Framebuffer
sourcefn default() -> Framebuffer
fn default() -> Framebuffer
Returns the “default value” for a type. Read more
sourceimpl Handle for Framebuffer
impl Handle for Framebuffer
const TYPE: ObjectType = ObjectType::FRAMEBUFFER
fn as_raw(self) -> u64
fn from_raw(x: u64) -> Framebuffer
sourceimpl Hash for Framebuffer
impl Hash for Framebuffer
sourceimpl Ord for Framebuffer
impl Ord for Framebuffer
sourcefn cmp(&self, other: &Framebuffer) -> Ordering
fn cmp(&self, other: &Framebuffer) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Framebuffer> for Framebuffer
impl PartialEq<Framebuffer> for Framebuffer
sourcefn eq(&self, other: &Framebuffer) -> bool
fn eq(&self, other: &Framebuffer) -> bool
sourceimpl PartialOrd<Framebuffer> for Framebuffer
impl PartialOrd<Framebuffer> for Framebuffer
sourcefn partial_cmp(&self, other: &Framebuffer) -> Option<Ordering>
fn partial_cmp(&self, other: &Framebuffer) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Pointer for Framebuffer
impl Pointer for Framebuffer
impl Copy for Framebuffer
impl Eq for Framebuffer
impl StructuralEq for Framebuffer
impl StructuralPartialEq for Framebuffer
Auto Trait Implementations
impl RefUnwindSafe for Framebuffer
impl Send for Framebuffer
impl Sync for Framebuffer
impl Unpin for Framebuffer
impl UnwindSafe for Framebuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more