pub struct DrawBuffer {
pub state: GraphicsState<Vertex>,
}Fields§
§state: GraphicsState<Vertex>Implementations§
Source§impl DrawBuffer
impl DrawBuffer
pub fn new(source: &dyn GraphicsTarget<Vertex>) -> Self
pub fn submit(&mut self, target: &mut dyn GraphicsTarget<Vertex>)
pub fn submit_cloned(&self, target: &mut dyn GraphicsTarget<Vertex>)
Trait Implementations§
Source§impl Clone for DrawBuffer
impl Clone for DrawBuffer
Source§fn clone(&self) -> DrawBuffer
fn clone(&self) -> DrawBuffer
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 Default for DrawBuffer
impl Default for DrawBuffer
Source§fn default() -> DrawBuffer
fn default() -> DrawBuffer
Returns the “default value” for a type. Read more
Source§impl GraphicsTarget<Vertex> for DrawBuffer
impl GraphicsTarget<Vertex> for DrawBuffer
fn state(&self) -> &GraphicsState<Vertex>
fn state_mut(&mut self) -> &mut GraphicsState<Vertex>
Auto Trait Implementations§
impl Freeze for DrawBuffer
impl !RefUnwindSafe for DrawBuffer
impl !Send for DrawBuffer
impl !Sync for DrawBuffer
impl Unpin for DrawBuffer
impl !UnwindSafe for DrawBuffer
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