FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerPoint

    struct · ferroui-base · v0.5.0

    struct PointerPoint
    

    Provides basic properties for the input pointer associated with a single mouse, pen/stylus, or touch contact.

    View source

    Members

    pointer

    pointer: std::rc::Rc<dyn IPointer>
    

    The pointer associated with this point.

    Source

    properties

    properties: PointerPointProperties
    

    Extended information about the input pointer.

    Source

    position

    position: crate::Point
    

    The location of the pointer input in client coordinates.

    Source

    new

    fn new(pointer: Rc<dyn IPointer>, position: Point, properties: PointerPointProperties) -> Self
    

    Creates a pointer point.

    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
    • PartialEq

    Availability

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