pub enum MediaLinkType {
Data {
source: PadId,
sink: PadId,
},
Interface {
interface: InterfaceId,
entity: EntityId,
},
Ancillary {
source: EntityId,
sink: EntityId,
},
Other {
typ: u32,
source: u32,
sink: u32,
},
}
Expand description
Defines the type of the link. Based on MEDIA_LNK_FL_LINK_TYPE
Variants§
Data
links that represent a data connection between two pads.
Interface
links that associate an entity to its interface.
Ancillary
links that represent a physical relationship between two entities. The link may or may not be immutable, so applications must not assume either case.
Other
Unknown
Trait Implementations§
Source§impl Clone for MediaLinkType
impl Clone for MediaLinkType
Source§fn clone(&self) -> MediaLinkType
fn clone(&self) -> MediaLinkType
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 moreAuto Trait Implementations§
impl Freeze for MediaLinkType
impl RefUnwindSafe for MediaLinkType
impl Send for MediaLinkType
impl Sync for MediaLinkType
impl Unpin for MediaLinkType
impl UnwindSafe for MediaLinkType
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