pub enum BlockShapeRef {
Single(u32),
Multiple(Vec<u32>),
}
Variants§
Trait Implementations§
Source§impl Clone for BlockShapeRef
impl Clone for BlockShapeRef
Source§fn clone(&self) -> BlockShapeRef
fn clone(&self) -> BlockShapeRef
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockShapeRef
impl Debug for BlockShapeRef
Source§impl<'de> Deserialize<'de> for BlockShapeRef
impl<'de> Deserialize<'de> for BlockShapeRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockShapeRef
impl RefUnwindSafe for BlockShapeRef
impl Send for BlockShapeRef
impl Sync for BlockShapeRef
impl Unpin for BlockShapeRef
impl UnwindSafe for BlockShapeRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more