Struct gstreamer::query::Selectable
source · #[repr(transparent)]pub struct Selectable<T = QueryRef>(_);
Implementations§
source§impl Selectable
impl Selectable
source§impl Selectable<Query>
impl Selectable<Query>
pub fn get_mut(&mut self) -> Option<&mut Selectable>
source§impl Selectable
impl Selectable
pub fn selectable(&self) -> bool
Available on crate feature
v1_22
only.pub fn set_selectable(&mut self, selectable: bool)
Available on crate feature
v1_22
only.Methods from Deref<Target = QueryRef>§
pub fn as_ptr(&self) -> *const GstQuery
pub fn as_mut_ptr(&self) -> *mut GstQuery
pub fn copy(&self) -> Query
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn structure(&self) -> Option<&StructureRef>
pub fn structure_mut(&mut self) -> &mut StructureRef
pub fn is_downstream(&self) -> bool
pub fn is_upstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn view(&self) -> QueryView<'_>
pub fn view_mut(&mut self) -> QueryViewMut<'_>
Trait Implementations§
source§impl Borrow<Selectable<QueryRef>> for Selectable<Query>
impl Borrow<Selectable<QueryRef>> for Selectable<Query>
source§fn borrow(&self) -> &Selectable
fn borrow(&self) -> &Selectable
Immutably borrows from an owned value. Read more
source§impl BorrowMut<Selectable<QueryRef>> for Selectable<Query>
impl BorrowMut<Selectable<QueryRef>> for Selectable<Query>
source§fn borrow_mut(&mut self) -> &mut Selectable
fn borrow_mut(&mut self) -> &mut Selectable
Mutably borrows from an owned value. Read more
source§impl<T: Debug> Debug for Selectable<T>
impl<T: Debug> Debug for Selectable<T>
source§impl Default for Selectable<Query>
Available on crate feature v1_22
only.
impl Default for Selectable<Query>
Available on crate feature
v1_22
only.source§impl Deref for Selectable
impl Deref for Selectable
source§impl Deref for Selectable<Query>
impl Deref for Selectable<Query>
source§impl DerefMut for Selectable
impl DerefMut for Selectable
source§impl DerefMut for Selectable<Query>
impl DerefMut for Selectable<Query>
source§impl From<Selectable<Query>> for Query
impl From<Selectable<Query>> for Query
source§fn from(concrete: Selectable<Query>) -> Self
fn from(concrete: Selectable<Query>) -> Self
Converts to this type from the input type.
source§impl ToOwned for Selectable
impl ToOwned for Selectable
§type Owned = Selectable<Query>
type Owned = Selectable<Query>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more