pub struct Framebuf<Col, Dep> {
pub color_buf: Col,
pub depth_buf: Dep,
}Expand description
Framebuffer, combining a color (pixel) buffer and a depth buffer.
Fields§
§color_buf: Col§depth_buf: DepTrait Implementations§
Auto Trait Implementations§
impl<Col, Dep> Freeze for Framebuf<Col, Dep>
impl<Col, Dep> RefUnwindSafe for Framebuf<Col, Dep>where
Col: RefUnwindSafe,
Dep: RefUnwindSafe,
impl<Col, Dep> Send for Framebuf<Col, Dep>
impl<Col, Dep> Sync for Framebuf<Col, Dep>
impl<Col, Dep> Unpin for Framebuf<Col, Dep>
impl<Col, Dep> UnwindSafe for Framebuf<Col, Dep>where
Col: UnwindSafe,
Dep: UnwindSafe,
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