[−][src]Enum blocky_nbt::Tag
Variants
Byte(i8)
Short(i16)
Int(i32)
Long(i64)
Float(f32)
Double(f64)
String(String)
List(Vec<Self>)
Implementations
impl Tag
[src]
pub fn kind(&self) -> Kind
[src]
pub fn get<I: Index>(&self, index: I) -> Option<&Self>
[src]
pub fn get_mut<I: Index>(&mut self, index: I) -> Option<&mut Self>
[src]
pub fn insert<I: Index>(&mut self, index: I, value: Self)
[src]
Trait Implementations
impl Clone for Tag
[src]
impl Debug for Tag
[src]
impl Display for Tag
[src]
impl<I: Index> Index<I> for Tag
[src]
impl<I: Index> IndexMut<I> for Tag
[src]
impl Into<String> for Tag
[src]
impl<'b> Into<String> for &'b Tag
[src]
impl Into<Tag> for i8
[src]
impl Into<Tag> for i16
[src]
impl Into<Tag> for i32
[src]
impl Into<Tag> for i64
[src]
impl Into<Tag> for f32
[src]
impl Into<Tag> for f64
[src]
impl Into<Tag> for String
[src]
impl Into<Tag> for Vec<i8>
[src]
impl Into<Tag> for Vec<i32>
[src]
impl Into<Tag> for Vec<i64>
[src]
impl Into<Vec<i32>> for Tag
[src]
impl<'b> Into<Vec<i32>> for &'b Tag
[src]
impl Into<Vec<i64>> for Tag
[src]
impl<'b> Into<Vec<i64>> for &'b Tag
[src]
impl Into<Vec<i8>> for Tag
[src]
impl<'b> Into<Vec<i8>> for &'b Tag
[src]
impl Into<f32> for Tag
[src]
impl<'b> Into<f32> for &'b Tag
[src]
impl Into<f64> for Tag
[src]
impl<'b> Into<f64> for &'b Tag
[src]
impl Into<i16> for Tag
[src]
impl<'b> Into<i16> for &'b Tag
[src]
impl Into<i32> for Tag
[src]
impl<'b> Into<i32> for &'b Tag
[src]
impl Into<i64> for Tag
[src]
impl<'b> Into<i64> for &'b Tag
[src]
impl Into<i8> for Tag
[src]
impl<'b> Into<i8> for &'b Tag
[src]
impl PartialEq<Tag> for Tag
[src]
impl StructuralPartialEq for Tag
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,