#[non_exhaustive]pub enum CpuRtRuntime {
Microseconds(String),
Duration(String),
Expression(String),
Other(String),
}Expand description
A service cpu_rt_runtime scalar category with exact authored spelling.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Microseconds(String)
An integer microsecond spelling retained without conversion.
Duration(String)
A raw Compose duration retained without conversion.
Expression(String)
A dollar-bearing string retained as a deferred expression.
Other(String)
An invalid or unsupported spelling retained with a dedicated diagnostic.
Implementations§
Trait Implementations§
Source§impl Clone for CpuRtRuntime
impl Clone for CpuRtRuntime
Source§fn clone(&self) -> CpuRtRuntime
fn clone(&self) -> CpuRtRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CpuRtRuntime
impl Debug for CpuRtRuntime
impl Eq for CpuRtRuntime
Source§impl PartialEq for CpuRtRuntime
impl PartialEq for CpuRtRuntime
impl StructuralPartialEq for CpuRtRuntime
Auto Trait Implementations§
impl Freeze for CpuRtRuntime
impl RefUnwindSafe for CpuRtRuntime
impl Send for CpuRtRuntime
impl Sync for CpuRtRuntime
impl Unpin for CpuRtRuntime
impl UnsafeUnpin for CpuRtRuntime
impl UnwindSafe for CpuRtRuntime
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