Enum epaint::stroke::StrokeKind
source · pub enum StrokeKind {
Outside,
Inside,
Middle,
}
Expand description
Describes how the stroke of a shape should be painted.
Variants§
Outside
The stroke should be painted entirely outside of the shape
Inside
The stroke should be painted entirely inside of the shape
Middle
The stroke should be painted right on the edge of the shape, half inside and half outside.
Trait Implementations§
source§impl Clone for StrokeKind
impl Clone for StrokeKind
source§fn clone(&self) -> StrokeKind
fn clone(&self) -> StrokeKind
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 moresource§impl Debug for StrokeKind
impl Debug for StrokeKind
source§impl Default for StrokeKind
impl Default for StrokeKind
source§impl PartialEq for StrokeKind
impl PartialEq for StrokeKind
impl Eq for StrokeKind
impl StructuralPartialEq for StrokeKind
Auto Trait Implementations§
impl Freeze for StrokeKind
impl RefUnwindSafe for StrokeKind
impl Send for StrokeKind
impl Sync for StrokeKind
impl Unpin for StrokeKind
impl UnwindSafe for StrokeKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)