Struct spirt::spv::DebugSourceLang
source · pub struct DebugSourceLang {
pub lang: u32,
pub version: u32,
}
Fields§
§lang: u32
§version: u32
Trait Implementations§
source§impl Clone for DebugSourceLang
impl Clone for DebugSourceLang
source§fn clone(&self) -> DebugSourceLang
fn clone(&self) -> DebugSourceLang
Returns a copy 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 Ord for DebugSourceLang
impl Ord for DebugSourceLang
source§fn cmp(&self, other: &DebugSourceLang) -> Ordering
fn cmp(&self, other: &DebugSourceLang) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DebugSourceLang> for DebugSourceLang
impl PartialEq<DebugSourceLang> for DebugSourceLang
source§fn eq(&self, other: &DebugSourceLang) -> bool
fn eq(&self, other: &DebugSourceLang) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DebugSourceLang> for DebugSourceLang
impl PartialOrd<DebugSourceLang> for DebugSourceLang
source§fn partial_cmp(&self, other: &DebugSourceLang) -> Option<Ordering>
fn partial_cmp(&self, other: &DebugSourceLang) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DebugSourceLang
impl StructuralEq for DebugSourceLang
impl StructuralPartialEq for DebugSourceLang
Auto Trait Implementations§
impl RefUnwindSafe for DebugSourceLang
impl Send for DebugSourceLang
impl Sync for DebugSourceLang
impl Unpin for DebugSourceLang
impl UnwindSafe for DebugSourceLang
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.