#[repr(u32)]pub enum TrimPattern {
Show 18 variants
Sentry = 0,
Dune = 1,
Coast = 2,
Wild = 3,
Ward = 4,
Eye = 5,
Vex = 6,
Tide = 7,
Snout = 8,
Rib = 9,
Spire = 10,
Wayfinder = 11,
Shaper = 12,
Silence = 13,
Raiser = 14,
Host = 15,
Flow = 16,
Bolt = 17,
}
Variants§
Sentry = 0
Dune = 1
Coast = 2
Wild = 3
Ward = 4
Eye = 5
Vex = 6
Tide = 7
Snout = 8
Rib = 9
Spire = 10
Wayfinder = 11
Shaper = 12
Silence = 13
Raiser = 14
Host = 15
Flow = 16
Bolt = 17
Implementations§
Source§impl TrimPattern
impl TrimPattern
pub fn read_from_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Source§impl TrimPattern
impl TrimPattern
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl Clone for TrimPattern
impl Clone for TrimPattern
Source§fn clone(&self) -> TrimPattern
fn clone(&self) -> TrimPattern
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 TrimPattern
impl Debug for TrimPattern
Source§impl<'de> Deserialize<'de> for TrimPattern
impl<'de> Deserialize<'de> for TrimPattern
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
Source§impl Display for TrimPattern
impl Display for TrimPattern
Source§impl FromNbtTag for TrimPattern
impl FromNbtTag for TrimPattern
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for TrimPattern
impl FromStr for TrimPattern
Source§impl Hash for TrimPattern
impl Hash for TrimPattern
Source§impl McBufReadable for TrimPattern
impl McBufReadable for TrimPattern
Source§impl McBufWritable for TrimPattern
impl McBufWritable for TrimPattern
Source§impl PartialEq for TrimPattern
impl PartialEq for TrimPattern
Source§impl Registry for TrimPattern
impl Registry for TrimPattern
Source§impl Serialize for TrimPattern
impl Serialize for TrimPattern
Source§impl ToNbtTag for TrimPattern
impl ToNbtTag for TrimPattern
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for TrimPattern
impl TryFrom<u32> for TrimPattern
impl Copy for TrimPattern
impl Eq for TrimPattern
impl StructuralPartialEq for TrimPattern
Auto Trait Implementations§
impl Freeze for TrimPattern
impl RefUnwindSafe for TrimPattern
impl Send for TrimPattern
impl Sync for TrimPattern
impl Unpin for TrimPattern
impl UnwindSafe for TrimPattern
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)