FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RatingControlAutomationPeer

    struct · ferroui-controls · v0.5.0

    struct RatingControlAutomationPeer
    

    An automation peer which represents a RatingControl: a slider with the value pattern (the text of the rating) and the range value pattern (0 to MaxRating; an unset rating is 0), named by the caption when it has no name.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RatingControlAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    new

    fn new(owner: &RatingControl) -> Ref<Self>
    

    Initializes a new peer of owner.

    Source

    owner

    fn owner(self: &Self) -> Ref<RatingControl>
    

    Gets the owning rating control.

    Source

    Trait implementations

    Availability

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