pub struct AdvancementDisplaySpec {
pub title: Chat,
pub description: Chat,
pub icon: Slot,
pub frame_type: AdvancementFrameType,
pub flags: AdvancementDisplayFlags,
pub position: Vec2<f32>,
}Fields§
§title: Chat§description: Chat§icon: Slot§frame_type: AdvancementFrameType§flags: AdvancementDisplayFlags§position: Vec2<f32>Trait Implementations§
Source§impl Clone for AdvancementDisplaySpec
impl Clone for AdvancementDisplaySpec
Source§fn clone(&self) -> AdvancementDisplaySpec
fn clone(&self) -> AdvancementDisplaySpec
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 AdvancementDisplaySpec
impl Debug for AdvancementDisplaySpec
Source§impl Deserialize for AdvancementDisplaySpec
impl Deserialize for AdvancementDisplaySpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(Chat, Chat, Option<ItemStack>, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>)> for AdvancementDisplaySpec
impl From<(Chat, Chat, Option<ItemStack>, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>)> for AdvancementDisplaySpec
Source§fn from(
other: (Chat, Chat, Slot, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>),
) -> Self
fn from( other: (Chat, Chat, Slot, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>), ) -> Self
Converts to this type from the input type.
Source§impl From<AdvancementDisplaySpec> for (Chat, Chat, Slot, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>)
impl From<AdvancementDisplaySpec> for (Chat, Chat, Slot, AdvancementFrameType, AdvancementDisplayFlags, Vec2<f32>)
Source§fn from(other: AdvancementDisplaySpec) -> Self
fn from(other: AdvancementDisplaySpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AdvancementDisplaySpec
impl PartialEq for AdvancementDisplaySpec
Source§impl Serialize for AdvancementDisplaySpec
impl Serialize for AdvancementDisplaySpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for AdvancementDisplaySpec
Auto Trait Implementations§
impl Freeze for AdvancementDisplaySpec
impl RefUnwindSafe for AdvancementDisplaySpec
impl Send for AdvancementDisplaySpec
impl Sync for AdvancementDisplaySpec
impl Unpin for AdvancementDisplaySpec
impl UnwindSafe for AdvancementDisplaySpec
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