pub struct ChainLink {
pub index: usize,
pub output: Caps,
}Expand description
One element on an auto-plugged chain: which registered ElementDesc it is
(index into the searched slice) and the output caps the search chose for it
(the source-pad alternative it was matched to produce). The caps pin the
media type and format the element must emit, which a format-flexible element
(a converter, a multi-format decoder) needs to be constructed; geometry and
framerate may still be open and fixate later at instance negotiation.
Fields§
§index: usizeIndex into the descs slice passed to find_chain.
output: CapsThe caps this element was chosen to produce on its source pad.
Trait Implementations§
impl StructuralPartialEq for ChainLink
Auto Trait Implementations§
impl Freeze for ChainLink
impl RefUnwindSafe for ChainLink
impl Send for ChainLink
impl Sync for ChainLink
impl Unpin for ChainLink
impl UnsafeUnpin for ChainLink
impl UnwindSafe for ChainLink
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