pub struct Framebuffer { /* private fields */ }Expand description
A framebuffer.
§Destruction
Dropping this Framebuffer will cause Device::destroy_framebuffer to be called,
automatically releasing any resources associated with it.
Implementations§
Source§impl Framebuffer
impl Framebuffer
Sourcepub fn builder<'b>() -> FramebufferBuilder<'b>
pub fn builder<'b>() -> FramebufferBuilder<'b>
Returns a new FramebufferBuilder.
Sourcepub fn handle(&self) -> FramebufferHandle
pub fn handle(&self) -> FramebufferHandle
Returns this object’s handle.
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
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 Framebuffer
impl Debug for Framebuffer
Auto Trait Implementations§
impl Freeze for Framebuffer
impl RefUnwindSafe for Framebuffer
impl Send for Framebuffer
impl Sync for Framebuffer
impl Unpin for Framebuffer
impl UnwindSafe for Framebuffer
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