mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
tracer: add rustdoc-stripper-ignore-next annotations
This commit is contained in:
parent
abfa75b334
commit
2ded2837ba
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ pub trait TracerImpl: TracerImplExt + ObjectImpl + Send + Sync {
|
||||||
fn element_query_pre(&self, ts: u64, element: &Element, query: &Query) {}
|
fn element_query_pre(&self, ts: u64, element: &Element, query: &Query) {}
|
||||||
fn element_remove_pad(&self, ts: u64, element: &Element, pad: &Pad) {}
|
fn element_remove_pad(&self, ts: u64, element: &Element, pad: &Pad) {}
|
||||||
fn object_created(&self, ts: u64, object: &Object) {}
|
fn object_created(&self, ts: u64, object: &Object) {}
|
||||||
|
// rustdoc-stripper-ignore-next
|
||||||
/// Hook to be called after the GstObject has been finalized.
|
/// Hook to be called after the GstObject has been finalized.
|
||||||
fn object_destroyed(&self, ts: u64, object: std::ptr::NonNull<ffi::GstObject>) {}
|
fn object_destroyed(&self, ts: u64, object: std::ptr::NonNull<ffi::GstObject>) {}
|
||||||
fn object_reffed(&self, ts: u64, object: &Object, new_refcount: i32) {}
|
fn object_reffed(&self, ts: u64, object: &Object, new_refcount: i32) {}
|
||||||
|
@ -61,6 +62,7 @@ unsafe impl<T: TracerImpl> IsSubclassable<T> for Tracer {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait TracerImplExt: ObjectSubclass {
|
pub trait TracerImplExt: ObjectSubclass {
|
||||||
|
// rustdoc-stripper-ignore-next
|
||||||
/// Register a corresponding hook to be called for this tracer when certain events occur.
|
/// Register a corresponding hook to be called for this tracer when certain events occur.
|
||||||
///
|
///
|
||||||
/// Upon an event a corresponding method in `TracerImpl` will be called.
|
/// Upon an event a corresponding method in `TracerImpl` will be called.
|
||||||
|
|
Loading…
Reference in a new issue