pub struct DrawEvent {
pub draw_lists: Vec<DrawListId>,
pub draw_lists_and_children: Vec<DrawListId>,
pub redraw_all: bool,
pub xr_state: Option<Rc<XrState>>,
}
Fields§
§draw_lists: Vec<DrawListId>
§draw_lists_and_children: Vec<DrawListId>
§redraw_all: bool
§xr_state: Option<Rc<XrState>>
Implementations§
Source§impl DrawEvent
impl DrawEvent
pub fn will_redraw(&self) -> bool
pub fn draw_list_will_redraw(&self, cx: &Cx, draw_list_id: DrawListId) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrawEvent
impl RefUnwindSafe for DrawEvent
impl !Send for DrawEvent
impl !Sync for DrawEvent
impl Unpin for DrawEvent
impl UnwindSafe for DrawEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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