pub struct TimeMarker {
pub name: &'static str,
pub ticks: i64,
pub show_in_commands: Option<bool>,
}Expand description
show_in_commands: None = serialize marker as plain NbtTag::Int(ticks as i32) Some(b)= serialize as compound {ticks: int, show_in_commands: byte}
Fields§
§name: &'static str§ticks: i64§show_in_commands: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeMarker
impl RefUnwindSafe for TimeMarker
impl Send for TimeMarker
impl Sync for TimeMarker
impl Unpin for TimeMarker
impl UnsafeUnpin for TimeMarker
impl UnwindSafe for TimeMarker
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