pub struct HighlightQuadBuilder { /* private fields */ }Expand description
Builder for HighlightQuad.
Implementations§
Source§impl HighlightQuadBuilder
impl HighlightQuadBuilder
Sourcepub fn color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The highlight fill color (default: transparent).
Sourcepub fn outline_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn outline_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The highlight outline color (default: transparent).
Sourcepub fn build(&self) -> Result<HighlightQuad, HighlightQuadBuilderError>
pub fn build(&self) -> Result<HighlightQuad, HighlightQuadBuilderError>
Trait Implementations§
Source§impl Clone for HighlightQuadBuilder
impl Clone for HighlightQuadBuilder
Source§fn clone(&self) -> HighlightQuadBuilder
fn clone(&self) -> HighlightQuadBuilder
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 moreAuto Trait Implementations§
impl Freeze for HighlightQuadBuilder
impl RefUnwindSafe for HighlightQuadBuilder
impl Send for HighlightQuadBuilder
impl Sync for HighlightQuadBuilder
impl Unpin for HighlightQuadBuilder
impl UnsafeUnpin for HighlightQuadBuilder
impl UnwindSafe for HighlightQuadBuilder
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