[−][src]Struct blocky_nbt::Nbt
Fields
name: String
tag: Tag
Implementations
impl Nbt
[src]
impl Nbt
[src]
impl Nbt
[src]
impl Nbt
[src]
pub fn new(name: String, tag: Tag) -> Self
[src]
pub fn get<I: Index>(&self, index: I) -> Option<&Tag>
[src]
pub fn get_mut<I: Index>(&mut self, index: I) -> Option<&mut Tag>
[src]
pub fn insert<I: Index>(&mut self, index: I, value: Tag)
[src]
Trait Implementations
impl Clone for Nbt
[src]
impl Debug for Nbt
[src]
impl<'_> Index<&'_ str> for Nbt
[src]
type Output = Tag
The returned type after indexing.
fn index<'a>(&self, index: &str) -> &Self::Output
[src]
impl<'_> IndexMut<&'_ str> for Nbt
[src]
impl PartialEq<Nbt> for Nbt
[src]
impl StructuralPartialEq for Nbt
[src]
Auto Trait Implementations
impl RefUnwindSafe for Nbt
impl Send for Nbt
impl Sync for Nbt
impl Unpin for Nbt
impl UnwindSafe for Nbt
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, 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>,