pub struct WireframeConfig {
pub enabled: bool,
pub line_color: LinearRgba,
pub line_width: f32,
}Expand description
Wireframe debug-overlay state.
Fields§
§enabled: boolWhether WireframeLane draws the scene meshes as edge lines.
line_color: LinearRgbaLine color (linear RGBA; alpha modulates the anti-aliased edge).
line_width: f32Edge line width, in the shader’s barycentric units.
Trait Implementations§
Source§impl Clone for WireframeConfig
impl Clone for WireframeConfig
Source§fn clone(&self) -> WireframeConfig
fn clone(&self) -> WireframeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireframeConfig
impl Debug for WireframeConfig
Auto Trait Implementations§
impl Freeze for WireframeConfig
impl RefUnwindSafe for WireframeConfig
impl Send for WireframeConfig
impl Sync for WireframeConfig
impl Unpin for WireframeConfig
impl UnsafeUnpin for WireframeConfig
impl UnwindSafe for WireframeConfig
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