pub struct DrawCmd {
pub clip: Rect,
pub textured: bool,
pub vertices: Vec<UiVertex>,
}Expand description
Ein Batch: zusammenhängende Dreiecke (je 6 Vertices) unter einem Scissor-Rechteck, alle untexturiert oder alle texturiert.
Fields§
§clip: Rect§textured: bool§vertices: Vec<UiVertex>Trait Implementations§
impl StructuralPartialEq for DrawCmd
Auto Trait Implementations§
impl Freeze for DrawCmd
impl RefUnwindSafe for DrawCmd
impl Send for DrawCmd
impl Sync for DrawCmd
impl Unpin for DrawCmd
impl UnsafeUnpin for DrawCmd
impl UnwindSafe for DrawCmd
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