pub struct PortInfo<'a> {
pub id: Id,
pub direction: PortDirection,
pub mask: PortChangeMask,
pub props: &'a Properties,
pub params: &'a [(ParamType, ParamInfoFlags)],
}Expand description
Port information that is provided in a PortEvents::info event.
Fields§
§id: IdThe ID of the port.
direction: PortDirectionThe direction of the port
mask: PortChangeMaskWhat changed since the last call.
props: &'a PropertiesThe port’s properties.
params: &'a [(ParamType, ParamInfoFlags)]Port parameters that changed.
Auto Trait Implementations§
impl<'a> Freeze for PortInfo<'a>
impl<'a> RefUnwindSafe for PortInfo<'a>
impl<'a> Send for PortInfo<'a>
impl<'a> Sync for PortInfo<'a>
impl<'a> Unpin for PortInfo<'a>
impl<'a> UnwindSafe for PortInfo<'a>
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