Struct webrender::render_task::LineDecorationTask
source · pub struct LineDecorationTask {
pub wavy_line_thickness: f32,
pub style: LineStyle,
pub orientation: LineOrientation,
pub local_size: LayoutSize,
}
Fields§
§wavy_line_thickness: f32
§style: LineStyle
§orientation: LineOrientation
§local_size: LayoutSize
Trait Implementations§
source§impl Debug for LineDecorationTask
impl Debug for LineDecorationTask
Auto Trait Implementations§
impl Freeze for LineDecorationTask
impl RefUnwindSafe for LineDecorationTask
impl Send for LineDecorationTask
impl Sync for LineDecorationTask
impl Unpin for LineDecorationTask
impl UnwindSafe for LineDecorationTask
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more