Struct gstreamer::PadTemplateBuilder
source · pub struct PadTemplateBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PadTemplateBuilder<'a>
impl<'a> PadTemplateBuilder<'a>
pub fn gtype(self, gtype: Type) -> Self
pub fn gtype_if(self, gtype: Type, predicate: bool) -> Self
pub fn gtype_if_some(self, gtype: Option<Type>) -> Self
pub fn documentation_caps(self, documentation_caps: &'a Caps) -> Self
pub fn documentation_caps_if( self, documentation_caps: &'a Caps, predicate: bool, ) -> Self
pub fn documentation_caps_if_some( self, documentation_caps: Option<&'a Caps>, ) -> Self
pub fn build(self) -> Result<PadTemplate, BoolError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PadTemplateBuilder<'a>
impl<'a> RefUnwindSafe for PadTemplateBuilder<'a>
impl<'a> Send for PadTemplateBuilder<'a>
impl<'a> Sync for PadTemplateBuilder<'a>
impl<'a> Unpin for PadTemplateBuilder<'a>
impl<'a> UnwindSafe for PadTemplateBuilder<'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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more