Struct gstreamer::message::RedirectBuilder
source · pub struct RedirectBuilder<'a> {
builder: MessageBuilder<'a>,
location: &'a str,
tag_list: Option<&'a TagList>,
entry_struct: Option<Structure>,
entries: Option<&'a [(&'a str, Option<&'a TagList>, Option<&'a Structure>)]>,
}
Fields§
§builder: MessageBuilder<'a>
§location: &'a str
§tag_list: Option<&'a TagList>
§entry_struct: Option<Structure>
§entries: Option<&'a [(&'a str, Option<&'a TagList>, Option<&'a Structure>)]>
Implementations§
source§impl<'a> RedirectBuilder<'a>
impl<'a> RedirectBuilder<'a>
fn new(location: &'a str) -> Self
pub fn tag_list(self, tag_list: &'a TagList) -> Self
pub fn entry_struct(self, entry_struct: Structure) -> Self
pub fn entries( self, entries: &'a [(&'a str, Option<&'a TagList>, Option<&'a Structure>)], ) -> Self
pub fn src<O: IsA<Object> + Cast + Clone>(self, src: &O) -> Self
pub fn seqnum(self, seqnum: Seqnum) -> Self
pub fn other_field(self, name: &'a str, value: impl ToSendValue) -> Self
pub fn other_fields( self, other_fields: &[(&'a str, &'a (dyn ToSendValue + Sync))], ) -> Self
👎Deprecated: use build.other_field() instead
pub fn build(self) -> Message
Auto Trait Implementations§
impl<'a> Freeze for RedirectBuilder<'a>
impl<'a> RefUnwindSafe for RedirectBuilder<'a>
impl<'a> Send for RedirectBuilder<'a>
impl<'a> !Sync for RedirectBuilder<'a>
impl<'a> Unpin for RedirectBuilder<'a>
impl<'a> UnwindSafe for RedirectBuilder<'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