pub struct MediaV2Pad {
pub id: PadId,
pub entity_id: EntityId,
pub role: PadRole,
pub must_connect: bool,
pub index: u32,
}
Fields§
§id: PadId
Unique ID for the pad. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode pad IDs in an application.
entity_id: EntityId
Unique ID for the entity where this pad belongs.
role: PadRole
§must_connect: bool
§index: u32
Pad index, starts at 0. Only valid if MEDIA_V2_PAD_HAS_INDEX(media_version) returns true.
Trait Implementations§
Source§impl Clone for MediaV2Pad
impl Clone for MediaV2Pad
Source§fn clone(&self) -> MediaV2Pad
fn clone(&self) -> MediaV2Pad
Returns a copy 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 MediaV2Pad
impl Debug for MediaV2Pad
Source§impl From<media_v2_pad> for MediaV2Pad
impl From<media_v2_pad> for MediaV2Pad
Source§fn from(v: media_v2_pad) -> Self
fn from(v: media_v2_pad) -> Self
Converts to this type from the input type.
impl Copy for MediaV2Pad
Auto Trait Implementations§
impl Freeze for MediaV2Pad
impl RefUnwindSafe for MediaV2Pad
impl Send for MediaV2Pad
impl Sync for MediaV2Pad
impl Unpin for MediaV2Pad
impl UnwindSafe for MediaV2Pad
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