#[non_exhaustive]pub enum RawRdEnvironment {
Global,
Base,
Empty,
Other,
}Expand description
The environment categories exposed by a producer when preserving a raw value. Environment frames are intentionally not part of the Rd AST.
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.
Trait Implementations§
Source§impl Clone for RawRdEnvironment
impl Clone for RawRdEnvironment
Source§fn clone(&self) -> RawRdEnvironment
fn clone(&self) -> RawRdEnvironment
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 moreimpl Copy for RawRdEnvironment
Source§impl Debug for RawRdEnvironment
impl Debug for RawRdEnvironment
Source§impl<'de> Deserialize<'de> for RawRdEnvironment
impl<'de> Deserialize<'de> for RawRdEnvironment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RawRdEnvironment
Source§impl PartialEq for RawRdEnvironment
impl PartialEq for RawRdEnvironment
Source§impl Serialize for RawRdEnvironment
impl Serialize for RawRdEnvironment
impl StructuralPartialEq for RawRdEnvironment
Auto Trait Implementations§
impl Freeze for RawRdEnvironment
impl RefUnwindSafe for RawRdEnvironment
impl Send for RawRdEnvironment
impl Sync for RawRdEnvironment
impl Unpin for RawRdEnvironment
impl UnsafeUnpin for RawRdEnvironment
impl UnwindSafe for RawRdEnvironment
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