Struct mcdata::latest::entity_types::Vindicator
source · pub struct Vindicator {
pub johnny: Option<bool>,
pub parent: AbstractIllager,
}
Available on crate features
1.20.5
and entities
and latest
only.Fields§
§johnny: Option<bool>
"Johnny"
parent: AbstractIllager
Inherited fields from AbstractIllager
Trait Implementations§
source§impl Clone for Vindicator
impl Clone for Vindicator
source§fn clone(&self) -> Vindicator
fn clone(&self) -> Vindicator
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 Vindicator
impl Debug for Vindicator
source§impl<'de> Deserialize<'de> for Vindicator
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Vindicator
Available on crate feature
serde
only.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 PartialEq for Vindicator
impl PartialEq for Vindicator
source§fn eq(&self, other: &Vindicator) -> bool
fn eq(&self, other: &Vindicator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Vindicator
Available on crate feature serde
only.
impl Serialize for Vindicator
Available on crate feature
serde
only.impl StructuralPartialEq for Vindicator
Auto Trait Implementations§
impl Freeze for Vindicator
impl RefUnwindSafe for Vindicator
impl Send for Vindicator
impl Sync for Vindicator
impl Unpin for Vindicator
impl UnwindSafe for Vindicator
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more