FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Shadow

    struct · ferroui-base · v0.5.0

    struct Shadow
    

    The base class of the shadows an element can cast (WinUI Microsoft.UI.Xaml.Media.Shadow). ThemeShadow is the one shadow.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<Shadow>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    as_theme_shadow

    fn as_theme_shadow(self: &Self) -> Option<&ThemeShadow>
    

    The shadow as a theme shadow, if it is one.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.