[][src]Struct rendy_core::InstanceId

pub struct InstanceId {
    pub id: u32,
}

Id of the hal instance.

Fields

id: u32

Unique id.

Implementations

impl InstanceId[src]

pub fn new() -> Self[src]

Create new instance id.

Trait Implementations

impl Clone for InstanceId[src]

impl Copy for InstanceId[src]

impl Debug for InstanceId[src]

impl Eq for InstanceId[src]

impl Hash for InstanceId[src]

impl PartialEq<InstanceId> for InstanceId[src]

impl StructuralEq for InstanceId[src]

impl StructuralPartialEq for InstanceId[src]

Auto Trait Implementations

impl RefUnwindSafe for InstanceId

impl Send for InstanceId

impl Sync for InstanceId

impl Unpin for InstanceId

impl UnwindSafe for InstanceId

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.