pub enum Thickness {
TipMerge = 0,
Tip = 1,
Frustum = 2,
Middle = 3,
Base = 4,
}
Variants§
Trait Implementations§
Source§impl From<u16> for Thickness
impl From<u16> for Thickness
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for Thickness
impl Property for Thickness
type Value = Thickness
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Thickness
impl Eq for Thickness
impl StructuralPartialEq for Thickness
Auto Trait Implementations§
impl Freeze for Thickness
impl RefUnwindSafe for Thickness
impl Send for Thickness
impl Sync for Thickness
impl Unpin for Thickness
impl UnwindSafe for Thickness
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