Struct makepad_widgets::DrawList2d
source · pub struct DrawList2d { /* private fields */ }
Implementations§
source§impl DrawList2d
impl DrawList2d
pub fn draw_list_id(&self) -> DrawListId
pub fn set_view_transform(&self, cx: &mut Cx, mat: &Mat4)
pub fn begin_overlay_last(&mut self, cx: &mut Cx2d<'_>)
pub fn begin_overlay_reuse(&mut self, cx: &mut Cx2d<'_>)
pub fn begin_overlay_inner(&mut self, cx: &mut Cx2d<'_>, always_last: bool)
pub fn begin_always(&mut self, cx: &mut Cx2d<'_>)
pub fn begin(&mut self, cx: &mut Cx2d<'_>, walk: Walk) -> Result<(), ()>
pub fn end(&mut self, cx: &mut Cx2d<'_>)
pub fn get_view_transform(&self, cx: &Cx) -> Mat4
pub fn redraw(&self, cx: &mut Cx)
pub fn redraw_self_and_children(&self, cx: &mut Cx)
Trait Implementations§
source§impl Debug for DrawList2d
impl Debug for DrawList2d
source§impl LiveApply for DrawList2d
impl LiveApply for DrawList2d
source§impl LiveHook for DrawList2d
impl LiveHook for DrawList2d
fn before_live_design(_cx: &mut Cx)
fn apply_value_unknown( &mut self, cx: &mut Cx, _apply_from: ApplyFrom, index: usize, nodes: &[LiveNode] ) -> usize
fn apply_value_instance( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, index: usize, nodes: &[LiveNode] ) -> usize
fn skip_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] ) -> Option<usize>
fn before_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] )
fn after_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] )
fn after_apply_from(&mut self, cx: &mut Cx, apply_from: ApplyFrom)
fn after_new_from_doc(&mut self, _cx: &mut Cx)
fn after_new_before_apply(&mut self, _cx: &mut Cx)
source§impl LiveNew for DrawList2d
impl LiveNew for DrawList2d
fn new(cx: &mut Cx) -> DrawList2d
fn live_type_info(_cx: &mut Cx) -> LiveTypeInfo
fn live_design_with(_cx: &mut Cx)
fn new_apply( cx: &mut Cx, from: ApplyFrom, index: usize, nodes: &[LiveNode] ) -> Selfwhere Self: Sized,
fn new_apply_mut_index( cx: &mut Cx, from: ApplyFrom, index: &mut usize, nodes: &[LiveNode] ) -> Selfwhere Self: Sized,
fn new_from_ptr(cx: &mut Cx, live_ptr: Option<LivePtr>) -> Selfwhere Self: Sized,
fn new_main(cx: &mut Cx) -> Selfwhere Self: Sized,
fn update_main(&mut self, cx: &mut Cx)
fn new_local(cx: &mut Cx) -> Selfwhere Self: Sized,
fn new_from_module( cx: &mut Cx, module_id: LiveModuleId, id: LiveId ) -> Option<Self>where Self: Sized,
fn update_from_module( &mut self, cx: &mut Cx, module_id: LiveModuleId, id: LiveId )
Auto Trait Implementations§
impl !RefUnwindSafe for DrawList2d
impl !Send for DrawList2d
impl !Sync for DrawList2d
impl Unpin for DrawList2d
impl !UnwindSafe for DrawList2d
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