FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Guid

    struct · ferroui-splat · v0.5.0

    struct Guid
    

    A 128-bit identifier (System.Guid), written as xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

    Deprecated: the feature usage tracking takes and returns a Uuid of the uuid crate, the identifier type of the workspace (docs/idiomatic-rust.md); the two convert into each other with From. Guid::EMPTY is Uuid::nil, Guid::new_guid is Uuid::new_v4, Guid::from_u128 and Guid::as_u128 are the methods of the same names, and the text is the same.

    View source

    Deprecated since 0.5.0. use uuid::Uuid: EMPTY is Uuid::nil(), new_guid() is Uuid::new_v4(); convert with Uuid::from(guid)

    Members

    EMPTY

    const EMPTY: Guid
    

    The identifier whose bits are all zero (Guid.Empty).

    Source

    new_guid

    fn new_guid() -> Self
    

    A new random identifier of version 4 (Guid.NewGuid), from the random generator of the system.

    Source

    from_u128

    const fn from_u128(value: u128) -> Self
    

    The identifier of the 128 bits value.

    Source

    as_u128

    const fn as_u128(self: &Self) -> u128
    

    The 128 bits of the identifier.

    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
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • PartialOrd
    • Ord
    • From<Uuid>
    • From<Guid>
    • Display

    Availability

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