pub struct CommandBufferLevel(/* private fields */);Expand description
Implementations§
Source§impl CommandBufferLevel
impl CommandBufferLevel
pub const PRIMARY: CommandBufferLevel
pub const SECONDARY: CommandBufferLevel
pub const fn from_raw(value: i32) -> CommandBufferLevel
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for CommandBufferLevel
impl Clone for CommandBufferLevel
Source§fn clone(&self) -> CommandBufferLevel
fn clone(&self) -> CommandBufferLevel
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 CommandBufferLevel
impl Debug for CommandBufferLevel
Source§impl Default for CommandBufferLevel
impl Default for CommandBufferLevel
Source§fn default() -> CommandBufferLevel
fn default() -> CommandBufferLevel
Returns the “default value” for a type. Read more
Source§impl Display for CommandBufferLevel
impl Display for CommandBufferLevel
Source§impl Error for CommandBufferLevel
impl Error for CommandBufferLevel
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for CommandBufferLevel
impl Hash for CommandBufferLevel
Source§impl Ord for CommandBufferLevel
impl Ord for CommandBufferLevel
Source§fn cmp(&self, other: &CommandBufferLevel) -> Ordering
fn cmp(&self, other: &CommandBufferLevel) -> 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 for CommandBufferLevel
impl PartialEq for CommandBufferLevel
Source§impl PartialOrd for CommandBufferLevel
impl PartialOrd for CommandBufferLevel
impl Copy for CommandBufferLevel
impl Eq for CommandBufferLevel
impl StructuralPartialEq for CommandBufferLevel
Auto Trait Implementations§
impl Freeze for CommandBufferLevel
impl RefUnwindSafe for CommandBufferLevel
impl Send for CommandBufferLevel
impl Sync for CommandBufferLevel
impl Unpin for CommandBufferLevel
impl UnsafeUnpin for CommandBufferLevel
impl UnwindSafe for CommandBufferLevel
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