Struct pipewire::registry::GlobalObject
source · pub struct GlobalObject<P: AsRef<DictRef>> {
pub id: u32,
pub permissions: PermissionFlags,
pub type_: ObjectType,
pub version: u32,
pub props: Option<P>,
}
Fields§
§id: u32
§permissions: PermissionFlags
§type_: ObjectType
§version: u32
§props: Option<P>
Implementations§
source§impl<P: AsRef<DictRef>> GlobalObject<P>
impl<P: AsRef<DictRef>> GlobalObject<P>
pub fn to_owned(&self) -> GlobalObject<Properties>
Trait Implementations§
Auto Trait Implementations§
impl<P> RefUnwindSafe for GlobalObject<P>where
P: RefUnwindSafe,
impl<P> Send for GlobalObject<P>where
P: Send,
impl<P> Sync for GlobalObject<P>where
P: Sync,
impl<P> Unpin for GlobalObject<P>where
P: Unpin,
impl<P> UnwindSafe for GlobalObject<P>where
P: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more