Struct egui::layers::GraphicLayers
source · pub(crate) struct GraphicLayers([IdMap<PaintList>; 6]);
Tuple Fields§
§0: [IdMap<PaintList>; 6]
Implementations§
source§impl GraphicLayers
impl GraphicLayers
pub fn list(&mut self, layer_id: LayerId) -> &mut PaintList
pub fn drain( &mut self, area_order: &[LayerId] ) -> impl ExactSizeIterator<Item = 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