pub struct PlatformName {
pub vendor: String,
pub renderer: String,
}
Expand description
A unique platform identifier that does not change between releases
Fields§
§vendor: String
The company responsible for the OpenGL implementation
renderer: String
The name of the renderer
Trait Implementations§
Source§impl Clone for PlatformName
impl Clone for PlatformName
Source§fn clone(&self) -> PlatformName
fn clone(&self) -> PlatformName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlatformName
impl Debug for PlatformName
Source§impl PartialEq for PlatformName
impl PartialEq for PlatformName
impl Eq for PlatformName
impl StructuralPartialEq for PlatformName
Auto Trait Implementations§
impl Freeze for PlatformName
impl RefUnwindSafe for PlatformName
impl Send for PlatformName
impl Sync for PlatformName
impl Unpin for PlatformName
impl UnwindSafe for PlatformName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.