[][src]Struct rbx_dom_weak::RbxId

pub struct RbxId(_);

A unique ID that represents an instance within an RbxTree.

rbx_dom_weak uses UUIDv4 values for instance IDs and serializes equivalently.

Methods

impl RbxId[src]

pub fn new() -> RbxId[src]

Generates a new, random RbxId.

pub fn parse_str(input: &str) -> Option<RbxId>[src]

Parses an RbxId from a string containing a UUID.

Trait Implementations

impl Eq for RbxId[src]

impl PartialEq<RbxId> for RbxId[src]

impl Copy for RbxId[src]

impl Clone for RbxId[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for RbxId[src]

impl Display for RbxId[src]

impl Hash for RbxId[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'de> Deserialize<'de> for RbxId[src]

impl Serialize for RbxId[src]

Auto Trait Implementations

impl Send for RbxId

impl Sync for RbxId

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]