FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EventId

    struct · ferroui-headless-vnc · v0.5.0

    struct EventId
    

    Identifies a logging event. The primary identifier is the id property, with the name property providing a short description of this type of event.

    View source

    Members

    new

    fn new(id: i32) -> Self
    

    Initializes an instance of the EventId struct.

    Source

    with_name

    fn with_name(id: i32, name: Option<&str>) -> Self
    

    Initializes an instance of the EventId struct with a name.

    Source

    id

    fn id(self: &Self) -> i32
    

    Gets the numeric identifier for this event.

    Source

    name

    fn name(self: &Self) -> Option<&str>
    

    Gets the name of this event.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Same
    • Clone
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Display
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.