FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EffectiveViewportChangedEventArgs

    struct · ferroui-base · v0.5.0

    struct EffectiveViewportChangedEventArgs
    

    Provides data for the effective viewport changed event of a layoutable.

    View source

    Members

    new

    fn new(effective_viewport: Rect) -> Self
    

    Source

    effective_viewport

    fn effective_viewport(self: &Self) -> Rect
    

    The rect representing the effective viewport.

    The effective viewport is expressed in the coordinate system of the control that the event is raised on.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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