Struct scratch_file::BlockID[][src]

pub struct BlockID { /* fields omitted */ }

Unique ID for each block.

Implementations

impl BlockID[src]

pub fn new(id: [u8; 20]) -> Self[src]

pub fn pseudo_id() -> BlockID[src]

Indicates that the block that did not come from the .sb3 file, such as ValueNumber.

Trait Implementations

impl Clone for BlockID[src]

impl Copy for BlockID[src]

impl Debug for BlockID[src]

impl Default for BlockID[src]

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

impl Display for BlockID[src]

impl Eq for BlockID[src]

impl Hash for BlockID[src]

impl Ord for BlockID[src]

impl PartialEq<BlockID> for BlockID[src]

impl PartialOrd<BlockID> for BlockID[src]

impl Serialize for BlockID[src]

impl StructuralEq for BlockID[src]

impl StructuralPartialEq for BlockID[src]

impl TryFrom<&'_ str> for BlockID[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for BlockID

impl Send for BlockID

impl Sync for BlockID

impl Unpin for BlockID

impl UnwindSafe for BlockID

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[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.