pub enum ShadowItem {
Shadow(PendingShadow),
Image(PendingPrimitive<Image>),
LineDecoration(PendingPrimitive<LineDecoration>),
NormalBorder(PendingPrimitive<NormalBorderPrim>),
Primitive(PendingPrimitive<PrimitiveKeyKind>),
TextRun(PendingPrimitive<TextRun>),
}Variants§
Shadow(PendingShadow)
Image(PendingPrimitive<Image>)
LineDecoration(PendingPrimitive<LineDecoration>)
NormalBorder(PendingPrimitive<NormalBorderPrim>)
Primitive(PendingPrimitive<PrimitiveKeyKind>)
TextRun(PendingPrimitive<TextRun>)
Trait Implementations§
Source§impl From<PendingPrimitive<Image>> for ShadowItem
impl From<PendingPrimitive<Image>> for ShadowItem
Source§fn from(image: PendingPrimitive<Image>) -> Self
fn from(image: PendingPrimitive<Image>) -> Self
Converts to this type from the input type.
Source§impl From<PendingPrimitive<LineDecoration>> for ShadowItem
impl From<PendingPrimitive<LineDecoration>> for ShadowItem
Source§fn from(line_dec: PendingPrimitive<LineDecoration>) -> Self
fn from(line_dec: PendingPrimitive<LineDecoration>) -> Self
Converts to this type from the input type.
Source§impl From<PendingPrimitive<NormalBorderPrim>> for ShadowItem
impl From<PendingPrimitive<NormalBorderPrim>> for ShadowItem
Source§fn from(border: PendingPrimitive<NormalBorderPrim>) -> Self
fn from(border: PendingPrimitive<NormalBorderPrim>) -> Self
Converts to this type from the input type.
Source§impl From<PendingPrimitive<PrimitiveKeyKind>> for ShadowItem
impl From<PendingPrimitive<PrimitiveKeyKind>> for ShadowItem
Source§fn from(container: PendingPrimitive<PrimitiveKeyKind>) -> Self
fn from(container: PendingPrimitive<PrimitiveKeyKind>) -> Self
Converts to this type from the input type.
Source§impl From<PendingPrimitive<TextRun>> for ShadowItem
impl From<PendingPrimitive<TextRun>> for ShadowItem
Source§fn from(text_run: PendingPrimitive<TextRun>) -> Self
fn from(text_run: PendingPrimitive<TextRun>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShadowItem
impl RefUnwindSafe for ShadowItem
impl Send for ShadowItem
impl Sync for ShadowItem
impl Unpin for ShadowItem
impl UnwindSafe for ShadowItem
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