pub enum BoxShadowClipMode {
Outset,
Inset,
}
Expand description
What direction should a box-shadow
be clipped in (inset or outset)
Variants§
Trait Implementations§
Source§impl Clone for BoxShadowClipMode
impl Clone for BoxShadowClipMode
Source§fn clone(&self) -> BoxShadowClipMode
fn clone(&self) -> BoxShadowClipMode
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 BoxShadowClipMode
impl Debug for BoxShadowClipMode
Source§impl Display for BoxShadowClipMode
impl Display for BoxShadowClipMode
Source§impl Hash for BoxShadowClipMode
impl Hash for BoxShadowClipMode
Source§impl Ord for BoxShadowClipMode
impl Ord for BoxShadowClipMode
Source§fn cmp(&self, other: &BoxShadowClipMode) -> Ordering
fn cmp(&self, other: &BoxShadowClipMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BoxShadowClipMode
impl PartialEq for BoxShadowClipMode
Source§impl PartialOrd for BoxShadowClipMode
impl PartialOrd for BoxShadowClipMode
impl Copy for BoxShadowClipMode
impl Eq for BoxShadowClipMode
impl StructuralPartialEq for BoxShadowClipMode
Auto Trait Implementations§
impl Freeze for BoxShadowClipMode
impl RefUnwindSafe for BoxShadowClipMode
impl Send for BoxShadowClipMode
impl Sync for BoxShadowClipMode
impl Unpin for BoxShadowClipMode
impl UnwindSafe for BoxShadowClipMode
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
)