pub struct TimelineMarker {
pub delta_time_ms: u32,
pub kind: i32,
pub spell_or_aura_id: u32,
pub target_id: u32,
pub amount: u32,
pub is_crit: bool,
pub source_kind: i32,
pub source_id: u32,
pub pull_id: Option<u32>,
pub group_id: Option<u32>,
pub sequence: u64,
}Fields§
§delta_time_ms: u32§kind: i32§spell_or_aura_id: u32§target_id: u32§amount: u32§is_crit: bool§source_kind: i32§source_id: u32§pull_id: Option<u32>§group_id: Option<u32>§sequence: u64Implementations§
Source§impl TimelineMarker
impl TimelineMarker
Sourcepub fn kind(&self) -> MarkerKind
pub fn kind(&self) -> MarkerKind
Returns the enum value of kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_kind(&mut self, value: MarkerKind)
pub fn set_kind(&mut self, value: MarkerKind)
Sets kind to the provided enum value.
Sourcepub fn source_kind(&self) -> ActorKind
pub fn source_kind(&self) -> ActorKind
Returns the enum value of source_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_kind(&mut self, value: ActorKind)
pub fn set_source_kind(&mut self, value: ActorKind)
Sets source_kind to the provided enum value.
Trait Implementations§
Source§impl Clone for TimelineMarker
impl Clone for TimelineMarker
Source§fn clone(&self) -> TimelineMarker
fn clone(&self) -> TimelineMarker
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 TimelineMarker
impl Debug for TimelineMarker
Source§impl Default for TimelineMarker
impl Default for TimelineMarker
Source§impl Hash for TimelineMarker
impl Hash for TimelineMarker
Source§impl Message for TimelineMarker
impl Message for TimelineMarker
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for TimelineMarker
impl PartialEq for TimelineMarker
impl Copy for TimelineMarker
impl Eq for TimelineMarker
impl StructuralPartialEq for TimelineMarker
Auto Trait Implementations§
impl Freeze for TimelineMarker
impl RefUnwindSafe for TimelineMarker
impl Send for TimelineMarker
impl Sync for TimelineMarker
impl Unpin for TimelineMarker
impl UnsafeUnpin for TimelineMarker
impl UnwindSafe for TimelineMarker
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