pub struct PbPhase {
pub name: PbOneLineText,
pub change: i32,
pub goal: PbPhaseGoal,
pub intensity: PbPhaseIntensity,
pub repeat_count: Option<u32>,
pub jump_index: Option<u32>,
}Fields§
§name: PbOneLineText§change: i32§goal: PbPhaseGoal§intensity: PbPhaseIntensity§repeat_count: Option<u32>§jump_index: Option<u32>Implementations§
Source§impl PbPhase
impl PbPhase
pub fn change(&self) -> PbPhaseChangeType
pub fn set_change(&mut self, value: PbPhaseChangeType)
pub fn repeat_count(&self) -> u32
pub fn jump_index(&self) -> u32
Trait Implementations§
Source§impl Message for PbPhase
impl Message for PbPhase
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for PbPhase
Auto Trait Implementations§
impl Freeze for PbPhase
impl RefUnwindSafe for PbPhase
impl Send for PbPhase
impl Sync for PbPhase
impl Unpin for PbPhase
impl UnwindSafe for PbPhase
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