pub struct EntityParserFlags(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl EntityParserFlags
impl EntityParserFlags
pub fn is_single_target(&self) -> bool
pub fn set_single_target(&mut self, value: bool)
pub fn is_players_only(&self) -> bool
pub fn set_players_only(&mut self, value: bool)
Trait Implementations§
Source§impl Clone for EntityParserFlags
impl Clone for EntityParserFlags
Source§fn clone(&self) -> EntityParserFlags
fn clone(&self) -> EntityParserFlags
Returns a duplicate 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 EntityParserFlags
impl Debug for EntityParserFlags
Source§impl Default for EntityParserFlags
impl Default for EntityParserFlags
Source§fn default() -> EntityParserFlags
fn default() -> EntityParserFlags
Returns the “default value” for a type. Read more
Source§impl Deserialize for EntityParserFlags
impl Deserialize for EntityParserFlags
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for EntityParserFlags
impl PartialEq for EntityParserFlags
Source§impl Serialize for EntityParserFlags
impl Serialize for EntityParserFlags
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl Copy for EntityParserFlags
impl Eq for EntityParserFlags
impl StructuralPartialEq for EntityParserFlags
Auto Trait Implementations§
impl Freeze for EntityParserFlags
impl RefUnwindSafe for EntityParserFlags
impl Send for EntityParserFlags
impl Sync for EntityParserFlags
impl Unpin for EntityParserFlags
impl UnwindSafe for EntityParserFlags
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