pub enum LinkType {
DataLink {
source_id: PadId,
sink_id: PadId,
},
InterfaceLink {
source_id: InterfaceId,
sink_id: EntityId,
},
AncillaryLink {
source_id: PadIdOr<InterfaceId>,
sink_id: PadIdOr<EntityId>,
},
}Variants§
DataLink
MEDIA_LNK_FL_DATA_LINK On pad to pad links: unique IDs for the source/sink pad.
InterfaceLink
MEDIA_LNK_FL_INTERFACE_LINK On interface to entity links: unique IDs for the interface/entity.
AncillaryLink
MEDIA_LNK_FL_ANCILLARY_LINK for links that represent a physical relationship between two entities. The link may or may not be immutable, so applications must not assume either case.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkType
impl<'de> Deserialize<'de> for LinkType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for LinkType
impl Ord for LinkType
Source§impl PartialOrd for LinkType
impl PartialOrd for LinkType
impl Eq for LinkType
impl StructuralPartialEq for LinkType
Auto Trait Implementations§
impl Freeze for LinkType
impl RefUnwindSafe for LinkType
impl Send for LinkType
impl Sync for LinkType
impl Unpin for LinkType
impl UnsafeUnpin for LinkType
impl UnwindSafe for LinkType
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