Struct gstreamer::buffer::BUFFER_COPY_METADATA [−]
pub struct BUFFER_COPY_METADATA { /* fields omitted */ }
Methods from __Deref<Target = BufferCopyFlags>
pub const NONE: BufferCopyFlags
pub const FLAGS: BufferCopyFlags
pub const TIMESTAMPS: BufferCopyFlags
pub const META: BufferCopyFlags
pub const MEMORY: BufferCopyFlags
pub const MERGE: BufferCopyFlags
pub const DEEP: BufferCopyFlags
pub fn bits(&self) -> u32
pub fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
pub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
pub fn is_all(&self) -> bool
pub fn is_all(&self) -> bool
Returns true
if all flags are currently set.
pub fn intersects(&self, other: BufferCopyFlags) -> bool
pub fn intersects(&self, other: BufferCopyFlags) -> bool
Returns true
if there are flags common to both self
and other
.
pub fn contains(&self, other: BufferCopyFlags) -> bool
pub fn contains(&self, other: BufferCopyFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
Trait Implementations
impl __Deref for BUFFER_COPY_METADATA
impl __Deref for BUFFER_COPY_METADATA
type Target = BufferCopyFlags
The resulting type after dereferencing.
fn deref(&self) -> &BufferCopyFlags
fn deref(&self) -> &BufferCopyFlags
Dereferences the value.
impl LazyStatic for BUFFER_COPY_METADATA
impl LazyStatic for BUFFER_COPY_METADATA
fn initialize(lazy: &Self)
fn initialize(lazy: &Self)
Auto Trait Implementations
impl Send for BUFFER_COPY_METADATA
impl Send for BUFFER_COPY_METADATA
impl Sync for BUFFER_COPY_METADATA
impl Sync for BUFFER_COPY_METADATA