FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SnapPointsType

    enum · ferroui-controls · v0.5.0

    enum SnapPointsType
    

    Specify options for snap point behaviour when scrolling.

    View source

    Members

    None

    None = 0
    

    No snapping behaviour.

    Source

    Mandatory

    Mandatory = 1
    

    Content always stops at the snap point closest to where inertia would naturally stop along the direction of inertia.

    Source

    MandatorySingle

    MandatorySingle = 2
    

    Content always stops at the snap point closest to the release point along the direction of inertia.

    Source

    Trait implementations

    Availability

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