pub struct VnTextFill {
pub group_id: u64,
pub backgrounds: Vec<Background>,
}Expand description
A CSS background stack clipped to the element’s descendant text.
Fields§
§group_id: u64Stable element identity; reopened/deferred text shares one alpha mask.
backgrounds: Vec<Background>Backgrounds, bottom first, retaining their gradient and tile parameters.
Trait Implementations§
Source§impl Clone for VnTextFill
impl Clone for VnTextFill
Source§impl Debug for VnTextFill
impl Debug for VnTextFill
Source§impl<'de> Deserialize<'de> for VnTextFill
impl<'de> Deserialize<'de> for VnTextFill
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VnTextFill
impl PartialEq for VnTextFill
Source§impl Serialize for VnTextFill
impl Serialize for VnTextFill
impl StructuralPartialEq for VnTextFill
Auto Trait Implementations§
impl Forget for VnTextFill
impl Freeze for VnTextFill
impl Move for VnTextFill
impl RefUnwindSafe for VnTextFill
impl Send for VnTextFill
impl Sync for VnTextFill
impl Unpin for VnTextFill
impl UnsafeUnpin for VnTextFill
impl UnwindSafe for VnTextFill
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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