pub enum FaceShape {
Solid,
Bowl,
CenterSmall,
MiddlePoleThin,
Center,
MiddlePole,
CenterBig,
MiddlePoleThick,
Undefined,
}Expand description
What a block face looks like to connecting blocks (vanilla 1.12 BlockFaceShape; Legacy Yarn
names the enum BlockRenderLayer).
Variants§
Solid
A full solid face.
Bowl
BOWL (cauldron, hopper top).
CenterSmall
CENTER_SMALL.
MiddlePoleThin
MIDDLE_POLE_THIN (panes, iron bars).
Center
CENTER.
MiddlePole
MIDDLE_POLE (fences, fence gates).
CenterBig
CENTER_BIG.
MiddlePoleThick
MIDDLE_POLE_THICK (walls).
Undefined
UNDEFINED.
Trait Implementations§
impl Copy for FaceShape
impl Eq for FaceShape
impl StructuralPartialEq for FaceShape
Auto Trait Implementations§
impl Forget for FaceShape
impl Freeze for FaceShape
impl RefUnwindSafe for FaceShape
impl Send for FaceShape
impl Sync for FaceShape
impl Unpin for FaceShape
impl UnsafeUnpin for FaceShape
impl UnwindSafe for FaceShape
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