pub struct CompileTime;Expand description
v0.2.2 W13: marker for compile-time validated witnesses produced by
validate_const() and usable in const contexts. Convertible to
Validated<T, Runtime> via From.
Trait Implementations§
Source§impl Clone for CompileTime
impl Clone for CompileTime
Source§fn clone(&self) -> CompileTime
fn clone(&self) -> CompileTime
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 CompileTime
impl Debug for CompileTime
Source§impl Hash for CompileTime
impl Hash for CompileTime
Source§impl PartialEq for CompileTime
impl PartialEq for CompileTime
Source§fn eq(&self, other: &CompileTime) -> bool
fn eq(&self, other: &CompileTime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompileTime
impl Eq for CompileTime
impl StructuralPartialEq for CompileTime
impl ValidationPhase for CompileTime
Auto Trait Implementations§
impl Freeze for CompileTime
impl RefUnwindSafe for CompileTime
impl Send for CompileTime
impl Sync for CompileTime
impl Unpin for CompileTime
impl UnsafeUnpin for CompileTime
impl UnwindSafe for CompileTime
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