pub enum StaticInfo {
Unknown,
Known(Ty),
}Variants§
Trait Implementations§
Source§impl Clone for StaticInfo
impl Clone for StaticInfo
Source§fn clone(&self) -> StaticInfo
fn clone(&self) -> StaticInfo
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 StaticInfo
impl Debug for StaticInfo
Source§impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for StaticInfo
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for StaticInfo
Source§impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for StaticInfo
impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for StaticInfo
Source§impl Hash for StaticInfo
impl Hash for StaticInfo
Source§impl PartialEq for StaticInfo
impl PartialEq for StaticInfo
impl Eq for StaticInfo
impl StructuralPartialEq for StaticInfo
Auto Trait Implementations§
impl Freeze for StaticInfo
impl RefUnwindSafe for StaticInfo
impl Send for StaticInfo
impl Sync for StaticInfo
impl Unpin for StaticInfo
impl UnwindSafe for StaticInfo
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more