Module wireplumber::prelude
source · Expand description
Extension traits
Wildcard imports give you access to all the goodies:
use wireplumber::prelude::*;
use wireplumber::pw::{self, PipewireObject};
fn get_id(obj: &PipewireObject) -> u32 {
obj.pw_property(pw::PW_KEY_OBJECT_ID)
.expect("how do you not know who you are")
}
Re-exports§
pub use glib_signal::ObjectSignalExt as _;
glib-signal
pub use crate::core::Core;
pub use crate::core::ObjectExt as _;
pub use crate::plugin::AsyncPluginExt as _;
pub use crate::plugin::PluginExt as _;
pub use crate::pw::EndpointExt as _;
pub use crate::pw::GlobalProxyExt as _;
pub use crate::pw::MetadataExt as _;
pub use crate::pw::PipewireObjectExt as _;
pub use crate::pw::PipewireObjectExt2 as _;
pub use crate::pw::PipewirePropertyStringIterExt as _;
pub use crate::pw::ProxyExt as _;
pub use crate::pw::ProxyExt2 as _;
pub use crate::session::SessionItemExt as _;
pub use crate::session::SiAcquisitionExt as _;
pub use crate::session::SiAcquisitionExt2 as _;
pub use crate::session::SiAdapterExt as _;
pub use crate::session::SiAdapterExt2 as _;
pub use crate::session::SiEndpointExt as _;
pub use crate::session::SiFactoryExt as _;
pub use crate::session::SiLinkExt as _;
pub use crate::session::SiLinkableExt as _;
pub use crate::util::TransitionExt as _;
pub use crate::util::TransitionExt2 as _;
pub use glib::object::Cast as _;
pub use glib::object::IsA as _;
pub use glib::types::StaticType as _;