Struct checked_rs_macro_impl::params::enum_variants::Variants
source · pub struct Variants {
pub vis: Visibility,
pub name: Ident,
pub mod_name: Ident,
pub value_name: Ident,
pub exacts: HashSet<ExactVariant>,
pub ranges: Vec<RangeVariant>,
pub catchall: Option<Ident>,
}Fields§
§vis: Visibility§name: Ident§mod_name: Ident§value_name: Ident§exacts: HashSet<ExactVariant>§ranges: Vec<RangeVariant>§catchall: Option<Ident>Implementations§
Auto Trait Implementations§
impl Freeze for Variants
impl RefUnwindSafe for Variants
impl !Send for Variants
impl !Sync for Variants
impl Unpin for Variants
impl UnwindSafe for Variants
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