Skip to main content

MdpSsppChangeFtraceEvent

Struct MdpSsppChangeFtraceEvent 

Source
pub struct MdpSsppChangeFtraceEvent {
Show 16 fields pub num: Option<u32>, pub play_cnt: Option<u32>, pub mixer: Option<u32>, pub stage: Option<u32>, pub flags: Option<u32>, pub format: Option<u32>, pub img_w: Option<u32>, pub img_h: Option<u32>, pub src_x: Option<u32>, pub src_y: Option<u32>, pub src_w: Option<u32>, pub src_h: Option<u32>, pub dst_x: Option<u32>, pub dst_y: Option<u32>, pub dst_w: Option<u32>, pub dst_h: Option<u32>,
}

Fields§

§num: Option<u32>§play_cnt: Option<u32>§mixer: Option<u32>§stage: Option<u32>§flags: Option<u32>§format: Option<u32>§img_w: Option<u32>§img_h: Option<u32>§src_x: Option<u32>§src_y: Option<u32>§src_w: Option<u32>§src_h: Option<u32>§dst_x: Option<u32>§dst_y: Option<u32>§dst_w: Option<u32>§dst_h: Option<u32>

Implementations§

Source§

impl MdpSsppChangeFtraceEvent

Source

pub fn num(&self) -> u32

Returns the value of num, or the default value if num is unset.

Source

pub fn play_cnt(&self) -> u32

Returns the value of play_cnt, or the default value if play_cnt is unset.

Source

pub fn mixer(&self) -> u32

Returns the value of mixer, or the default value if mixer is unset.

Source

pub fn stage(&self) -> u32

Returns the value of stage, or the default value if stage is unset.

Source

pub fn flags(&self) -> u32

Returns the value of flags, or the default value if flags is unset.

Source

pub fn format(&self) -> u32

Returns the value of format, or the default value if format is unset.

Source

pub fn img_w(&self) -> u32

Returns the value of img_w, or the default value if img_w is unset.

Source

pub fn img_h(&self) -> u32

Returns the value of img_h, or the default value if img_h is unset.

Source

pub fn src_x(&self) -> u32

Returns the value of src_x, or the default value if src_x is unset.

Source

pub fn src_y(&self) -> u32

Returns the value of src_y, or the default value if src_y is unset.

Source

pub fn src_w(&self) -> u32

Returns the value of src_w, or the default value if src_w is unset.

Source

pub fn src_h(&self) -> u32

Returns the value of src_h, or the default value if src_h is unset.

Source

pub fn dst_x(&self) -> u32

Returns the value of dst_x, or the default value if dst_x is unset.

Source

pub fn dst_y(&self) -> u32

Returns the value of dst_y, or the default value if dst_y is unset.

Source

pub fn dst_w(&self) -> u32

Returns the value of dst_w, or the default value if dst_w is unset.

Source

pub fn dst_h(&self) -> u32

Returns the value of dst_h, or the default value if dst_h is unset.

Trait Implementations§

Source§

impl Clone for MdpSsppChangeFtraceEvent

Source§

fn clone(&self) -> MdpSsppChangeFtraceEvent

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MdpSsppChangeFtraceEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MdpSsppChangeFtraceEvent

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for MdpSsppChangeFtraceEvent

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for MdpSsppChangeFtraceEvent

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

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,

Encodes the message to a newly allocated buffer.
Source§

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,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

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,

Decodes a length-delimited instance of the message from the buffer.
Source§

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 more
Source§

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 MdpSsppChangeFtraceEvent

Source§

fn eq(&self, other: &MdpSsppChangeFtraceEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for MdpSsppChangeFtraceEvent

Source§

impl Eq for MdpSsppChangeFtraceEvent

Source§

impl StructuralPartialEq for MdpSsppChangeFtraceEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.