pub struct SoftTriCanvas {
pub buffer: Vec<u8>,
pub format: TextureFormat,
pub size: [u32; 2],
}
Expand description
A canvas to draw triangles onto
Fields§
§buffer: Vec<u8>
§format: TextureFormat
§size: [u32; 2]
Implementations§
Auto Trait Implementations§
impl Freeze for SoftTriCanvas
impl RefUnwindSafe for SoftTriCanvas
impl Send for SoftTriCanvas
impl Sync for SoftTriCanvas
impl Unpin for SoftTriCanvas
impl UnwindSafe for SoftTriCanvas
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