[−]Struct gstreamer::buffer::BUFFER_COPY_METADATA
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 const fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
pub const fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
pub const fn is_all(&self) -> bool
Returns true
if all flags are currently set.
pub const fn intersects(&self, other: BufferCopyFlags) -> bool
Returns true
if there are flags common to both self
and other
.
pub const 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
type Target = BufferCopyFlags
The resulting type after dereferencing.
fn deref(&self) -> &BufferCopyFlags
impl LazyStatic for BUFFER_COPY_METADATA
fn initialize(lazy: &Self)
Auto Trait Implementations
impl RefUnwindSafe for BUFFER_COPY_METADATA
impl Send for BUFFER_COPY_METADATA
impl Sync for BUFFER_COPY_METADATA
impl Unpin for BUFFER_COPY_METADATA
impl UnwindSafe for BUFFER_COPY_METADATA
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,