#[repr(i8)]pub enum LocShape {
Show 23 variants
WALL_STRAIGHT = 0,
WALL_DIAGONAL_CORNER = 1,
WALL_L = 2,
WALL_SQUARE_CORNER = 3,
WALLDECOR_STRAIGHT_NOOFFSET = 4,
WALLDECOR_STRAIGHT_OFFSET = 5,
WALLDECOR_DIAGONAL_OFFSET = 6,
WALLDECOR_DIAGONAL_NOOFFSET = 7,
WALLDECOR_DIAGONAL_BOTH = 8,
WALL_DIAGONAL = 9,
CENTREPIECE_STRAIGHT = 10,
CENTREPIECE_DIAGONAL = 11,
ROOF_STRAIGHT = 12,
ROOF_DIAGONAL_WITH_ROOFEDGE = 13,
ROOF_DIAGONAL = 14,
ROOF_L_CONCAVE = 15,
ROOF_L_CONVEX = 16,
ROOF_FLAT = 17,
ROOFEDGE_STRAIGHT = 18,
ROOFEDGE_DIAGONAL_CORNER = 19,
ROOFEDGE_L = 20,
ROOFEDGE_SQUARE_CORNER = 21,
GROUND_DECOR = 22,
}Variants§
WALL_STRAIGHT = 0
WALL_DIAGONAL_CORNER = 1
WALL_L = 2
WALL_SQUARE_CORNER = 3
WALLDECOR_STRAIGHT_NOOFFSET = 4
WALLDECOR_STRAIGHT_OFFSET = 5
WALLDECOR_DIAGONAL_OFFSET = 6
WALLDECOR_DIAGONAL_NOOFFSET = 7
WALLDECOR_DIAGONAL_BOTH = 8
WALL_DIAGONAL = 9
CENTREPIECE_STRAIGHT = 10
CENTREPIECE_DIAGONAL = 11
ROOF_STRAIGHT = 12
ROOF_DIAGONAL_WITH_ROOFEDGE = 13
ROOF_DIAGONAL = 14
ROOF_L_CONCAVE = 15
ROOF_L_CONVEX = 16
ROOF_FLAT = 17
ROOFEDGE_STRAIGHT = 18
ROOFEDGE_DIAGONAL_CORNER = 19
ROOFEDGE_L = 20
ROOFEDGE_SQUARE_CORNER = 21
GROUND_DECOR = 22
Trait Implementations§
Source§impl FromWasmAbi for LocShape
impl FromWasmAbi for LocShape
Source§impl IntoWasmAbi for LocShape
impl IntoWasmAbi for LocShape
Source§impl OptionFromWasmAbi for LocShape
impl OptionFromWasmAbi for LocShape
Source§impl OptionIntoWasmAbi for LocShape
impl OptionIntoWasmAbi for LocShape
Source§impl TryFromJsValue for LocShape
impl TryFromJsValue for LocShape
Source§impl VectorFromWasmAbi for LocShape
impl VectorFromWasmAbi for LocShape
Source§impl VectorIntoWasmAbi for LocShape
impl VectorIntoWasmAbi for LocShape
impl StructuralPartialEq for LocShape
Auto Trait Implementations§
impl Freeze for LocShape
impl RefUnwindSafe for LocShape
impl Send for LocShape
impl Sync for LocShape
impl Unpin for LocShape
impl UnwindSafe for LocShape
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
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.