[][src]Struct guillotiere::AllocId

#[repr(C)]pub struct AllocId(_);

ID referring to an allocated rectangle.

Implementations

impl AllocId[src]

pub fn serialize(&self) -> u32[src]

pub fn deserialize(bytes: u32) -> Self[src]

Trait Implementations

impl Clone for AllocId[src]

impl Copy for AllocId[src]

impl Debug for AllocId[src]

impl Eq for AllocId[src]

impl Hash for AllocId[src]

impl Index<AllocId> for AtlasAllocator[src]

type Output = Rectangle

The returned type after indexing.

impl PartialEq<AllocId> for AllocId[src]

impl StructuralEq for AllocId[src]

impl StructuralPartialEq for AllocId[src]

Auto Trait Implementations

impl RefUnwindSafe for AllocId

impl Send for AllocId

impl Sync for AllocId

impl Unpin for AllocId

impl UnwindSafe for AllocId

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.