FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Brushes

    struct · ferroui-base · v0.5.0

    struct Brushes
    

    Predefined brushes.

    View source

    Members

    alice_blue

    fn alice_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the AliceBlue color.

    Source

    antique_white

    fn antique_white() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the AntiqueWhite color.

    Source

    aqua

    fn aqua() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Aqua color.

    Source

    aquamarine

    fn aquamarine() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Aquamarine color.

    Source

    azure

    fn azure() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Azure color.

    Source

    beige

    fn beige() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Beige color.

    Source

    bisque

    fn bisque() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Bisque color.

    Source

    black

    fn black() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Black color.

    Source

    blanched_almond

    fn blanched_almond() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the BlanchedAlmond color.

    Source

    blue

    fn blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Blue color.

    Source

    blue_violet

    fn blue_violet() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the BlueViolet color.

    Source

    brown

    fn brown() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Brown color.

    Source

    burly_wood

    fn burly_wood() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the BurlyWood color.

    Source

    cadet_blue

    fn cadet_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the CadetBlue color.

    Source

    chartreuse

    fn chartreuse() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Chartreuse color.

    Source

    chocolate

    fn chocolate() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Chocolate color.

    Source

    coral

    fn coral() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Coral color.

    Source

    cornflower_blue

    fn cornflower_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the CornflowerBlue color.

    Source

    cornsilk

    fn cornsilk() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Cornsilk color.

    Source

    crimson

    fn crimson() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Crimson color.

    Source

    cyan

    fn cyan() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Cyan color.

    Source

    dark_blue

    fn dark_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkBlue color.

    Source

    dark_cyan

    fn dark_cyan() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkCyan color.

    Source

    dark_goldenrod

    fn dark_goldenrod() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkGoldenrod color.

    Source

    dark_gray

    fn dark_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkGray color.

    Source

    dark_green

    fn dark_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkGreen color.

    Source

    dark_khaki

    fn dark_khaki() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkKhaki color.

    Source

    dark_magenta

    fn dark_magenta() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkMagenta color.

    Source

    dark_olive_green

    fn dark_olive_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkOliveGreen color.

    Source

    dark_orange

    fn dark_orange() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkOrange color.

    Source

    dark_orchid

    fn dark_orchid() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkOrchid color.

    Source

    dark_red

    fn dark_red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkRed color.

    Source

    dark_salmon

    fn dark_salmon() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkSalmon color.

    Source

    dark_sea_green

    fn dark_sea_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkSeaGreen color.

    Source

    dark_slate_blue

    fn dark_slate_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkSlateBlue color.

    Source

    dark_slate_gray

    fn dark_slate_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkSlateGray color.

    Source

    dark_turquoise

    fn dark_turquoise() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkTurquoise color.

    Source

    dark_violet

    fn dark_violet() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DarkViolet color.

    Source

    deep_pink

    fn deep_pink() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DeepPink color.

    Source

    deep_sky_blue

    fn deep_sky_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DeepSkyBlue color.

    Source

    dim_gray

    fn dim_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DimGray color.

    Source

    dodger_blue

    fn dodger_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the DodgerBlue color.

    Source

    firebrick

    fn firebrick() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Firebrick color.

    Source

    floral_white

    fn floral_white() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the FloralWhite color.

    Source

    forest_green

    fn forest_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the ForestGreen color.

    Source

    fuchsia

    fn fuchsia() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Fuchsia color.

    Source

    gainsboro

    fn gainsboro() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Gainsboro color.

    Source

    ghost_white

    fn ghost_white() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the GhostWhite color.

    Source

    gold

    fn gold() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Gold color.

    Source

    goldenrod

    fn goldenrod() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Goldenrod color.

    Source

    gray

    fn gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Gray color.

    Source

    green

    fn green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Green color.

    Source

    green_yellow

    fn green_yellow() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the GreenYellow color.

    Source

    honeydew

    fn honeydew() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Honeydew color.

    Source

    hot_pink

    fn hot_pink() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the HotPink color.

    Source

    indian_red

    fn indian_red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the IndianRed color.

    Source

    indigo

    fn indigo() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Indigo color.

    Source

    ivory

    fn ivory() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Ivory color.

    Source

    khaki

    fn khaki() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Khaki color.

    Source

    lavender

    fn lavender() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Lavender color.

    Source

    lavender_blush

    fn lavender_blush() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LavenderBlush color.

    Source

    lawn_green

    fn lawn_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LawnGreen color.

    Source

    lemon_chiffon

    fn lemon_chiffon() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LemonChiffon color.

    Source

    light_blue

    fn light_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightBlue color.

    Source

    light_coral

    fn light_coral() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightCoral color.

    Source

    light_cyan

    fn light_cyan() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightCyan color.

    Source

    light_goldenrod_yellow

    fn light_goldenrod_yellow() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightGoldenrodYellow color.

    Source

    light_gray

    fn light_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightGray color.

    Source

    light_green

    fn light_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightGreen color.

    Source

    light_pink

    fn light_pink() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightPink color.

    Source

    light_salmon

    fn light_salmon() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightSalmon color.

    Source

    light_sea_green

    fn light_sea_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightSeaGreen color.

    Source

    light_sky_blue

    fn light_sky_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightSkyBlue color.

    Source

    light_slate_gray

    fn light_slate_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightSlateGray color.

    Source

    light_steel_blue

    fn light_steel_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightSteelBlue color.

    Source

    light_yellow

    fn light_yellow() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LightYellow color.

    Source

    lime

    fn lime() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Lime color.

    Source

    lime_green

    fn lime_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the LimeGreen color.

    Source

    linen

    fn linen() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Linen color.

    Source

    magenta

    fn magenta() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Magenta color.

    Source

    maroon

    fn maroon() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Maroon color.

    Source

    medium_aquamarine

    fn medium_aquamarine() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumAquamarine color.

    Source

    medium_blue

    fn medium_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumBlue color.

    Source

    medium_orchid

    fn medium_orchid() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumOrchid color.

    Source

    medium_purple

    fn medium_purple() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumPurple color.

    Source

    medium_sea_green

    fn medium_sea_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumSeaGreen color.

    Source

    medium_slate_blue

    fn medium_slate_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumSlateBlue color.

    Source

    medium_spring_green

    fn medium_spring_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumSpringGreen color.

    Source

    medium_turquoise

    fn medium_turquoise() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumTurquoise color.

    Source

    medium_violet_red

    fn medium_violet_red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MediumVioletRed color.

    Source

    midnight_blue

    fn midnight_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MidnightBlue color.

    Source

    mint_cream

    fn mint_cream() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MintCream color.

    Source

    misty_rose

    fn misty_rose() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the MistyRose color.

    Source

    moccasin

    fn moccasin() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Moccasin color.

    Source

    navajo_white

    fn navajo_white() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the NavajoWhite color.

    Source

    navy

    fn navy() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Navy color.

    Source

    old_lace

    fn old_lace() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the OldLace color.

    Source

    olive

    fn olive() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Olive color.

    Source

    olive_drab

    fn olive_drab() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the OliveDrab color.

    Source

    orange

    fn orange() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Orange color.

    Source

    orange_red

    fn orange_red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the OrangeRed color.

    Source

    orchid

    fn orchid() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Orchid color.

    Source

    pale_goldenrod

    fn pale_goldenrod() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PaleGoldenrod color.

    Source

    pale_green

    fn pale_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PaleGreen color.

    Source

    pale_turquoise

    fn pale_turquoise() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PaleTurquoise color.

    Source

    pale_violet_red

    fn pale_violet_red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PaleVioletRed color.

    Source

    papaya_whip

    fn papaya_whip() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PapayaWhip color.

    Source

    peach_puff

    fn peach_puff() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PeachPuff color.

    Source

    peru

    fn peru() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Peru color.

    Source

    pink

    fn pink() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Pink color.

    Source

    plum

    fn plum() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Plum color.

    Source

    powder_blue

    fn powder_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the PowderBlue color.

    Source

    purple

    fn purple() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Purple color.

    Source

    red

    fn red() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Red color.

    Source

    rosy_brown

    fn rosy_brown() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the RosyBrown color.

    Source

    royal_blue

    fn royal_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the RoyalBlue color.

    Source

    saddle_brown

    fn saddle_brown() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SaddleBrown color.

    Source

    salmon

    fn salmon() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Salmon color.

    Source

    sandy_brown

    fn sandy_brown() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SandyBrown color.

    Source

    sea_green

    fn sea_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SeaGreen color.

    Source

    sea_shell

    fn sea_shell() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SeaShell color.

    Source

    sienna

    fn sienna() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Sienna color.

    Source

    silver

    fn silver() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Silver color.

    Source

    sky_blue

    fn sky_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SkyBlue color.

    Source

    slate_blue

    fn slate_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SlateBlue color.

    Source

    slate_gray

    fn slate_gray() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SlateGray color.

    Source

    snow

    fn snow() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Snow color.

    Source

    spring_green

    fn spring_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SpringGreen color.

    Source

    steel_blue

    fn steel_blue() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the SteelBlue color.

    Source

    tan

    fn tan() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Tan color.

    Source

    teal

    fn teal() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Teal color.

    Source

    thistle

    fn thistle() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Thistle color.

    Source

    tomato

    fn tomato() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Tomato color.

    Source

    transparent

    fn transparent() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Transparent color.

    Source

    turquoise

    fn turquoise() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Turquoise color.

    Source

    violet

    fn violet() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Violet color.

    Source

    wheat

    fn wheat() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Wheat color.

    Source

    white

    fn white() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the White color.

    Source

    white_smoke

    fn white_smoke() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the WhiteSmoke color.

    Source

    yellow

    fn yellow() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the Yellow color.

    Source

    yellow_green

    fn yellow_green() -> Rc<ImmutableSolidColorBrush>
    

    Gets a brush with the YellowGreen color.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • MarkupTyped

    Availability

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