pub struct AdvancementDisplayFlags {
pub background_texture: Option<String>,
pub show_toast: bool,
pub hidden: bool,
}
Fields§
§background_texture: Option<String>
§show_toast: bool
Trait Implementations§
Source§impl Clone for AdvancementDisplayFlags
impl Clone for AdvancementDisplayFlags
Source§fn clone(&self) -> AdvancementDisplayFlags
fn clone(&self) -> AdvancementDisplayFlags
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 AdvancementDisplayFlags
impl Debug for AdvancementDisplayFlags
Source§impl Deserialize for AdvancementDisplayFlags
impl Deserialize for AdvancementDisplayFlags
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for AdvancementDisplayFlags
impl PartialEq for AdvancementDisplayFlags
Source§impl Serialize for AdvancementDisplayFlags
impl Serialize for AdvancementDisplayFlags
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for AdvancementDisplayFlags
Auto Trait Implementations§
impl Freeze for AdvancementDisplayFlags
impl RefUnwindSafe for AdvancementDisplayFlags
impl Send for AdvancementDisplayFlags
impl Sync for AdvancementDisplayFlags
impl Unpin for AdvancementDisplayFlags
impl UnwindSafe for AdvancementDisplayFlags
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