pub enum VnClipBox {
Margin,
Border,
Padding,
Content,
}Expand description
vue-native fork: the box a clip-path is laid against (CSS Masking 1
§5.1, <geometry-box>). fill-box is the content box and stroke-box and
view-box the border box, as for any element with a CSS box.
Variants§
Margin
The margin box.
Border
The border box, the default.
Padding
The padding box.
Content
The content box.
Trait Implementations§
impl Copy for VnClipBox
Source§impl<'de> Deserialize<'de> for VnClipBox
impl<'de> Deserialize<'de> for VnClipBox
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
impl StructuralPartialEq for VnClipBox
Auto Trait Implementations§
impl Forget for VnClipBox
impl Freeze for VnClipBox
impl Move for VnClipBox
impl RefUnwindSafe for VnClipBox
impl Send for VnClipBox
impl Sync for VnClipBox
impl Unpin for VnClipBox
impl UnsafeUnpin for VnClipBox
impl UnwindSafe for VnClipBox
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