Struct gstreamer::DebugCategory
source · pub struct DebugCategory(_);
Implementations
sourceimpl DebugCategory
impl DebugCategory
pub fn new<'a, P: Into<Option<&'a str>>>(
name: &str,
color: DebugColorFlags,
description: P
) -> DebugCategory
pub fn get(name: &str) -> Option<DebugCategory>
pub fn get_threshold(&self) -> DebugLevel
pub fn set_threshold(&self, threshold: DebugLevel)
pub fn reset_threshold(&self)
pub fn get_color(&self) -> DebugColorFlags
pub fn get_name(&self) -> &str
pub fn get_description(&self) -> Option<&str>
pub fn log<O: IsA<Object>>(
&self,
obj: Option<&O>,
level: DebugLevel,
file: &str,
module: &str,
line: u32,
args: Arguments<'_>
)
Trait Implementations
sourceimpl Clone for DebugCategory
impl Clone for DebugCategory
sourcefn clone(&self) -> DebugCategory
fn clone(&self) -> DebugCategory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DebugCategory
impl Debug for DebugCategory
sourceimpl PartialEq<DebugCategory> for DebugCategory
impl PartialEq<DebugCategory> for DebugCategory
sourcefn eq(&self, other: &DebugCategory) -> bool
fn eq(&self, other: &DebugCategory) -> bool
impl Copy for DebugCategory
impl Eq for DebugCategory
impl Send for DebugCategory
impl StructuralEq for DebugCategory
impl StructuralPartialEq for DebugCategory
impl Sync for DebugCategory
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more