[−][src]Struct epaint::Shadow
A rectangular shadow with a soft penumbra.
Fields
extrusion: f32
color: Color32
Implementations
impl Shadow
[src]
pub fn small() -> Self
[src]
Tooltips, menus, ...
pub fn big() -> Self
[src]
Windows
pub fn tessellate(&self, rect: Rect, corner_radius: f32) -> Triangles
[src]
Trait Implementations
impl Clone for Shadow
[src]
impl Copy for Shadow
[src]
impl Debug for Shadow
[src]
impl Default for Shadow
[src]
impl PartialEq<Shadow> for Shadow
[src]
impl StructuralPartialEq for Shadow
[src]
Auto Trait Implementations
impl RefUnwindSafe for Shadow
[src]
impl Send for Shadow
[src]
impl Sync for Shadow
[src]
impl Unpin for Shadow
[src]
impl UnwindSafe for Shadow
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,