pub struct StrokeBrush { /* private fields */ }Expand description
StrokeBrush.
Implementations§
Source§impl StrokeBrush
impl StrokeBrush
Sourcepub fn new() -> StrokeBrush
pub fn new() -> StrokeBrush
Constructor.
Sourcepub fn color<Color>(self, val: Color) -> StrokeBrushwhere
Color: RgbaInterface<f32>,
pub fn color<Color>(self, val: Color) -> StrokeBrushwhere
Color: RgbaInterface<f32>,
ChangeInterface color.
Sourcepub fn width(self, val: f32) -> StrokeBrush
pub fn width(self, val: f32) -> StrokeBrush
ChangeInterface color.
Trait Implementations§
Source§impl Clone for StrokeBrush
impl Clone for StrokeBrush
Source§fn clone(&self) -> StrokeBrush
fn clone(&self) -> StrokeBrush
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 StrokeBrush
impl Debug for StrokeBrush
Source§impl Default for StrokeBrush
impl Default for StrokeBrush
Source§fn default() -> StrokeBrush
fn default() -> StrokeBrush
Returns the “default value” for a type. Read more
Source§impl HasIdInterface for StrokeBrush
impl HasIdInterface for StrokeBrush
Auto Trait Implementations§
impl Freeze for StrokeBrush
impl RefUnwindSafe for StrokeBrush
impl Send for StrokeBrush
impl Sync for StrokeBrush
impl Unpin for StrokeBrush
impl UnwindSafe for StrokeBrush
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().Source§impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
impl<Target, Original> VectorizedInto<Target> for Originalwhere
Target: VectorizedFrom<Original>,
Source§fn vectorized_into(self) -> Target
fn vectorized_into(self) -> Target
Performs the conversion.