Struct egui::layers::GraphicLayers
source · pub struct GraphicLayers([IdMap<PaintList>; 5]);
Expand description
This is where painted Shape
s end up during a frame.
Tuple Fields§
§0: [IdMap<PaintList>; 5]
Implementations§
source§impl GraphicLayers
impl GraphicLayers
pub fn drain( &mut self, area_order: &[LayerId], to_global: &HashMap<LayerId, TSTransform>, ) -> Vec<ClippedShape>
Trait Implementations§
source§impl Clone for GraphicLayers
impl Clone for GraphicLayers
source§fn clone(&self) -> GraphicLayers
fn clone(&self) -> GraphicLayers
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GraphicLayers
impl Default for GraphicLayers
source§fn default() -> GraphicLayers
fn default() -> GraphicLayers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphicLayers
impl !RefUnwindSafe for GraphicLayers
impl Send for GraphicLayers
impl Sync for GraphicLayers
impl Unpin for GraphicLayers
impl !UnwindSafe for GraphicLayers
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)