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