Struct gstreamer::sample::SampleBuilder
source · pub struct SampleBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SampleBuilder<'a>
impl<'a> SampleBuilder<'a>
pub fn buffer(self, buffer: &'a Buffer) -> Self
pub fn buffer_list(self, buffer_list: &'a BufferList) -> Self
pub fn caps(self, caps: &'a Caps) -> Self
pub fn segment<F: FormattedValueIntrinsic>( self, segment: &'a FormattedSegment<F> ) -> Self
pub fn info(self, info: Structure) -> Self
pub fn build(self) -> Sample
Trait Implementations§
source§impl<'a> Clone for SampleBuilder<'a>
impl<'a> Clone for SampleBuilder<'a>
source§fn clone(&self) -> SampleBuilder<'a>
fn clone(&self) -> SampleBuilder<'a>
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 more