pub struct SourceOrderConfig { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Configuration data for drawing the source order of an elements children.
Implementations§
Source§impl SourceOrderConfig
impl SourceOrderConfig
pub fn new(parent_outline_color: Rgba, child_outline_color: Rgba) -> Self
Sourcepub fn parent_outline_color(&self) -> &Rgba
pub fn parent_outline_color(&self) -> &Rgba
the color to outline the givent element in.
Sourcepub fn child_outline_color(&self) -> &Rgba
pub fn child_outline_color(&self) -> &Rgba
the color to outline the child elements in.
Trait Implementations§
Source§impl Clone for SourceOrderConfig
impl Clone for SourceOrderConfig
Source§fn clone(&self) -> SourceOrderConfig
fn clone(&self) -> SourceOrderConfig
Returns a duplicate 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 Debug for SourceOrderConfig
impl Debug for SourceOrderConfig
Source§impl<'de> Deserialize<'de> for SourceOrderConfig
impl<'de> Deserialize<'de> for SourceOrderConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SourceOrderConfig
impl RefUnwindSafe for SourceOrderConfig
impl Send for SourceOrderConfig
impl Sync for SourceOrderConfig
impl Unpin for SourceOrderConfig
impl UnwindSafe for SourceOrderConfig
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