FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StyleQueries

    struct · ferroui-base · v0.5.0

    struct StyleQueries
    

    Functions for building StyleQuerys.

    View source

    Members

    width

    fn width(previous: Option<StyleQuery>, operator: StyleQueryComparisonOperator, value: f64) -> StyleQuery
    

    Returns a query which matches the width of the container.

    Source

    height

    fn height(previous: Option<StyleQuery>, operator: StyleQueryComparisonOperator, value: f64) -> StyleQuery
    

    Returns a query which matches the height of the container.

    Source

    or

    fn or(queries: impl IntoIterator<Item = StyleQuery>) -> StyleQuery
    

    Returns a query which ORs queries.

    Source

    and

    fn and(queries: impl IntoIterator<Item = StyleQuery>) -> StyleQuery
    

    Returns a query which ANDs queries.

    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.