pub struct PadState {
pub id: EntityId,
pub pad_idx: u16,
pub mbus: MediaBusFmt,
pub width: u32,
pub height: u32,
}
Expand description
Conceptual state of the pad, stored in a format that’s easy to feed to the media APIs. In particular, it doesn’t require consulting the topology to convert between the pad numbers (relative to entity vs absolute).
Fields§
§id: EntityId
§pad_idx: u16
Index of the pad relative to the entity
mbus: MediaBusFmt
§width: u32
§height: u32
Trait Implementations§
impl Eq for PadState
impl StructuralPartialEq for PadState
Auto Trait Implementations§
impl Freeze for PadState
impl RefUnwindSafe for PadState
impl Send for PadState
impl Sync for PadState
impl Unpin for PadState
impl UnwindSafe for PadState
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