Skip to main content

Shadowed

Trait Shadowed 

Source
pub trait Shadowed {
    // Required method
    fn shadow(&self) -> Option<&Shadow>;
}
Expand description

Trait for components that support a drop shadow.

Required Methods§

Source

fn shadow(&self) -> Option<&Shadow>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§