Struct gstreamer_gl::GLPlatform [−][src]
pub struct GLPlatform { /* fields omitted */ }
Implementations
impl GLPlatform
[src]
impl GLPlatform
[src]pub const EGL: GLPlatform
[src]
pub const EGL: GLPlatform
[src]the EGL platform used primarily with the X11, wayland and android window systems as well as on embedded Linux
pub const GLX: GLPlatform
[src]
pub const GLX: GLPlatform
[src]the GLX platform used primarily with the X11 window system
pub const WGL: GLPlatform
[src]
pub const WGL: GLPlatform
[src]the WGL platform used primarily on Windows
pub const CGL: GLPlatform
[src]
pub const CGL: GLPlatform
[src]the CGL platform used primarily on OS X
pub const EAGL: GLPlatform
[src]
pub const EAGL: GLPlatform
[src]the EAGL platform used primarily on iOS
pub const fn empty() -> GLPlatform
[src]
pub const fn empty() -> GLPlatform
[src]Returns an empty set of flags
pub const fn all() -> GLPlatform
[src]
pub const fn all() -> GLPlatform
[src]Returns the set containing all flags.
pub fn from_bits(bits: u32) -> Option<GLPlatform>
[src]
pub fn from_bits(bits: u32) -> Option<GLPlatform>
[src]Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u32) -> GLPlatform
[src]
pub const fn from_bits_truncate(bits: u32) -> GLPlatform
[src]Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: u32) -> GLPlatform
[src]
pub const unsafe fn from_bits_unchecked(bits: u32) -> GLPlatform
[src]Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn intersects(&self, other: GLPlatform) -> bool
[src]
pub const fn intersects(&self, other: GLPlatform) -> bool
[src]Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: GLPlatform) -> bool
[src]
pub const fn contains(&self, other: GLPlatform) -> bool
[src]Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: GLPlatform)
[src]
pub fn insert(&mut self, other: GLPlatform)
[src]Inserts the specified flags in-place.
pub fn remove(&mut self, other: GLPlatform)
[src]
pub fn remove(&mut self, other: GLPlatform)
[src]Removes the specified flags in-place.
pub fn toggle(&mut self, other: GLPlatform)
[src]
pub fn toggle(&mut self, other: GLPlatform)
[src]Toggles the specified flags in-place.
pub fn set(&mut self, other: GLPlatform, value: bool)
[src]
pub fn set(&mut self, other: GLPlatform, value: bool)
[src]Inserts or removes the specified flags depending on the passed value.
impl GLPlatform
[src]
impl GLPlatform
[src]pub fn from_string(platform_s: &str) -> GLPlatform
[src]
pub fn to_str(self) -> GString
[src]
Trait Implementations
impl Binary for GLPlatform
[src]
impl Binary for GLPlatform
[src]impl BitAnd<GLPlatform> for GLPlatform
[src]
impl BitAnd<GLPlatform> for GLPlatform
[src]fn bitand(self, other: GLPlatform) -> GLPlatform
[src]
fn bitand(self, other: GLPlatform) -> GLPlatform
[src]Returns the intersection between the two sets of flags.
type Output = GLPlatform
type Output = GLPlatform
The resulting type after applying the &
operator.
impl BitAndAssign<GLPlatform> for GLPlatform
[src]
impl BitAndAssign<GLPlatform> for GLPlatform
[src]fn bitand_assign(&mut self, other: GLPlatform)
[src]
fn bitand_assign(&mut self, other: GLPlatform)
[src]Disables all flags disabled in the set.
impl BitOr<GLPlatform> for GLPlatform
[src]
impl BitOr<GLPlatform> for GLPlatform
[src]fn bitor(self, other: GLPlatform) -> GLPlatform
[src]
fn bitor(self, other: GLPlatform) -> GLPlatform
[src]Returns the union of the two sets of flags.
type Output = GLPlatform
type Output = GLPlatform
The resulting type after applying the |
operator.
impl BitOrAssign<GLPlatform> for GLPlatform
[src]
impl BitOrAssign<GLPlatform> for GLPlatform
[src]fn bitor_assign(&mut self, other: GLPlatform)
[src]
fn bitor_assign(&mut self, other: GLPlatform)
[src]Adds the set of flags.
impl BitXor<GLPlatform> for GLPlatform
[src]
impl BitXor<GLPlatform> for GLPlatform
[src]fn bitxor(self, other: GLPlatform) -> GLPlatform
[src]
fn bitxor(self, other: GLPlatform) -> GLPlatform
[src]Returns the left flags, but with all the right flags toggled.
type Output = GLPlatform
type Output = GLPlatform
The resulting type after applying the ^
operator.
impl BitXorAssign<GLPlatform> for GLPlatform
[src]
impl BitXorAssign<GLPlatform> for GLPlatform
[src]fn bitxor_assign(&mut self, other: GLPlatform)
[src]
fn bitxor_assign(&mut self, other: GLPlatform)
[src]Toggles the set of flags.
impl Clone for GLPlatform
[src]
impl Clone for GLPlatform
[src]fn clone(&self) -> GLPlatform
[src]
fn clone(&self) -> GLPlatform
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for GLPlatform
[src]
impl Debug for GLPlatform
[src]impl Display for GLPlatform
[src]
impl Display for GLPlatform
[src]impl Extend<GLPlatform> for GLPlatform
[src]
impl Extend<GLPlatform> for GLPlatform
[src]fn extend<T: IntoIterator<Item = GLPlatform>>(&mut self, iterator: T)
[src]
fn extend<T: IntoIterator<Item = GLPlatform>>(&mut self, iterator: T)
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl FromIterator<GLPlatform> for GLPlatform
[src]
impl FromIterator<GLPlatform> for GLPlatform
[src]fn from_iter<T: IntoIterator<Item = GLPlatform>>(iterator: T) -> GLPlatform
[src]
fn from_iter<T: IntoIterator<Item = GLPlatform>>(iterator: T) -> GLPlatform
[src]Creates a value from an iterator. Read more
impl<'a> FromValue<'a> for GLPlatform
[src]
impl<'a> FromValue<'a> for GLPlatform
[src]type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl Hash for GLPlatform
[src]
impl Hash for GLPlatform
[src]impl LowerHex for GLPlatform
[src]
impl LowerHex for GLPlatform
[src]impl Not for GLPlatform
[src]
impl Not for GLPlatform
[src]fn not(self) -> GLPlatform
[src]
fn not(self) -> GLPlatform
[src]Returns the complement of this set of flags.
type Output = GLPlatform
type Output = GLPlatform
The resulting type after applying the !
operator.
impl Octal for GLPlatform
[src]
impl Octal for GLPlatform
[src]impl Ord for GLPlatform
[src]
impl Ord for GLPlatform
[src]impl PartialEq<GLPlatform> for GLPlatform
[src]
impl PartialEq<GLPlatform> for GLPlatform
[src]fn eq(&self, other: &GLPlatform) -> bool
[src]
fn eq(&self, other: &GLPlatform) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &GLPlatform) -> bool
[src]
fn ne(&self, other: &GLPlatform) -> bool
[src]This method tests for !=
.
impl PartialOrd<GLPlatform> for GLPlatform
[src]
impl PartialOrd<GLPlatform> for GLPlatform
[src]fn partial_cmp(&self, other: &GLPlatform) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &GLPlatform) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StaticType for GLPlatform
[src]
impl StaticType for GLPlatform
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl Sub<GLPlatform> for GLPlatform
[src]
impl Sub<GLPlatform> for GLPlatform
[src]fn sub(self, other: GLPlatform) -> GLPlatform
[src]
fn sub(self, other: GLPlatform) -> GLPlatform
[src]Returns the set difference of the two sets of flags.
type Output = GLPlatform
type Output = GLPlatform
The resulting type after applying the -
operator.
impl SubAssign<GLPlatform> for GLPlatform
[src]
impl SubAssign<GLPlatform> for GLPlatform
[src]fn sub_assign(&mut self, other: GLPlatform)
[src]
fn sub_assign(&mut self, other: GLPlatform)
[src]Disables all flags enabled in the set.
impl ToValue for GLPlatform
[src]
impl ToValue for GLPlatform
[src]impl UpperHex for GLPlatform
[src]
impl UpperHex for GLPlatform
[src]impl ValueType for GLPlatform
[src]
impl ValueType for GLPlatform
[src]impl Copy for GLPlatform
[src]
impl Eq for GLPlatform
[src]
impl StructuralEq for GLPlatform
[src]
impl StructuralPartialEq for GLPlatform
[src]
Auto Trait Implementations
impl RefUnwindSafe for GLPlatform
impl Send for GLPlatform
impl Sync for GLPlatform
impl Unpin for GLPlatform
impl UnwindSafe for GLPlatform
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.