Enum hematite_server::types::consts::Dimension
[−]
[src]
pub enum Dimension { Nether, Overworld, End, }
Variants
Nether | |
Overworld | |
End |
pub enum Dimension { Nether, Overworld, End, }
Nether | |
Overworld | |
End |
impl Protocol for Dimension
type Clean = Dimension
fn proto_len(value: &Dimension) -> usize
fn proto_encode(value: &Dimension, dst: &mut Write) -> Result<()>
fn proto_decode(src: &mut Read) -> Result<Dimension>
impl PartialEq for Dimension
impl FromPrimitive for Dimension
fn from_i64(__arg_0: i64) -> Option<Dimension>
fn from_u64(__arg_0: u64) -> Option<Dimension>
fn from_isize(n: isize) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
fn from_f32(n: f32) -> Option<Self>
fn from_f64(n: f64) -> Option<Self>
impl Debug for Dimension
impl Copy for Dimension
impl Clone for Dimension
fn clone(&self) -> Dimension
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)