pub struct TypeDefWithEnumValueOpts<'a> {
pub description: Option<&'a str>,
pub source_map: Option<SourceMapId>,
}
Fields§
§description: Option<&'a str>
A doc string for the value, if any
source_map: Option<SourceMapId>
The source map for the enum value definition.
Trait Implementations§
Source§impl<'a> Debug for TypeDefWithEnumValueOpts<'a>
impl<'a> Debug for TypeDefWithEnumValueOpts<'a>
Source§impl<'a> PartialEq for TypeDefWithEnumValueOpts<'a>
impl<'a> PartialEq for TypeDefWithEnumValueOpts<'a>
Source§fn eq(&self, other: &TypeDefWithEnumValueOpts<'a>) -> bool
fn eq(&self, other: &TypeDefWithEnumValueOpts<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for TypeDefWithEnumValueOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeDefWithEnumValueOpts<'a>
impl<'a> RefUnwindSafe for TypeDefWithEnumValueOpts<'a>
impl<'a> Send for TypeDefWithEnumValueOpts<'a>
impl<'a> Sync for TypeDefWithEnumValueOpts<'a>
impl<'a> Unpin for TypeDefWithEnumValueOpts<'a>
impl<'a> UnwindSafe for TypeDefWithEnumValueOpts<'a>
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