pub struct ScenarioDebugMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl ScenarioDebugMode
impl ScenarioDebugMode
pub const DISABLED: ScenarioDebugMode = _
pub const WIREFRAME: ScenarioDebugMode = _
pub const OVERDRAW: ScenarioDebugMode = _
pub const SHADELESS: ScenarioDebugMode = _
Trait Implementations§
source§impl Clone for ScenarioDebugMode
impl Clone for ScenarioDebugMode
source§fn clone(&self) -> ScenarioDebugMode
fn clone(&self) -> ScenarioDebugMode
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 Debug for ScenarioDebugMode
impl Debug for ScenarioDebugMode
source§impl From<ScenarioDebugMode> for i64
impl From<ScenarioDebugMode> for i64
source§fn from(v: ScenarioDebugMode) -> Self
fn from(v: ScenarioDebugMode) -> Self
Converts to this type from the input type.
source§impl From<i64> for ScenarioDebugMode
impl From<i64> for ScenarioDebugMode
source§impl FromVariant for ScenarioDebugMode
impl FromVariant for ScenarioDebugMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for ScenarioDebugMode
impl Hash for ScenarioDebugMode
source§impl Ord for ScenarioDebugMode
impl Ord for ScenarioDebugMode
source§fn cmp(&self, other: &ScenarioDebugMode) -> Ordering
fn cmp(&self, other: &ScenarioDebugMode) -> 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<ScenarioDebugMode> for ScenarioDebugMode
impl PartialEq<ScenarioDebugMode> for ScenarioDebugMode
source§fn eq(&self, other: &ScenarioDebugMode) -> bool
fn eq(&self, other: &ScenarioDebugMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ScenarioDebugMode> for ScenarioDebugMode
impl PartialOrd<ScenarioDebugMode> for ScenarioDebugMode
source§fn partial_cmp(&self, other: &ScenarioDebugMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ScenarioDebugMode) -> 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 Copy for ScenarioDebugMode
impl Eq for ScenarioDebugMode
impl StructuralEq for ScenarioDebugMode
impl StructuralPartialEq for ScenarioDebugMode
Auto Trait Implementations§
impl RefUnwindSafe for ScenarioDebugMode
impl Send for ScenarioDebugMode
impl Sync for ScenarioDebugMode
impl Unpin for ScenarioDebugMode
impl UnwindSafe for ScenarioDebugMode
Blanket Implementations§
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.