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