Struct re_renderer::OutlineConfig
source · pub struct OutlineConfig {
pub outline_radius_pixel: f32,
pub color_layer_a: Rgba,
pub color_layer_b: Rgba,
}Fields§
§outline_radius_pixel: f32Outline radius for both layers in pixels. Fractional pixels are valid.
Could do different radius for both layers if the need arises, but for now this simplifies things.
color_layer_a: RgbaPremultiplied RGBA color for the first outline layer.
color_layer_b: RgbaPremultiplied RGBA color for the second outline layer.
Trait Implementations§
source§impl Clone for OutlineConfig
impl Clone for OutlineConfig
source§fn clone(&self) -> OutlineConfig
fn clone(&self) -> OutlineConfig
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 moreAuto Trait Implementations§
impl RefUnwindSafe for OutlineConfig
impl Send for OutlineConfig
impl Sync for OutlineConfig
impl Unpin for OutlineConfig
impl UnwindSafe for OutlineConfig
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