pub trait DrawListExt {
// Required methods
fn draw_list_id(&self) -> DrawListId;
fn set_view_transform(&self, cx: &mut Cx, mat: &Mat4);
fn begin_always(&mut self, cx: &mut CxDraw<'_>);
fn begin_maybe(
&mut self,
cx: &mut CxDraw<'_>,
will_redraw: bool,
) -> Result<(), ()>;
fn end(&mut self, cx: &mut CxDraw<'_>);
fn get_view_transform(&self, cx: &Cx) -> Mat4;
fn redraw(&self, cx: &mut Cx);
fn redraw_self_and_children(&self, cx: &mut Cx);
}Required Methods§
fn draw_list_id(&self) -> DrawListId
fn set_view_transform(&self, cx: &mut Cx, mat: &Mat4)
fn begin_always(&mut self, cx: &mut CxDraw<'_>)
fn begin_maybe( &mut self, cx: &mut CxDraw<'_>, will_redraw: bool, ) -> Result<(), ()>
fn end(&mut self, cx: &mut CxDraw<'_>)
fn get_view_transform(&self, cx: &Cx) -> Mat4
fn redraw(&self, cx: &mut Cx)
fn redraw_self_and_children(&self, cx: &mut Cx)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".