pub(super) struct EnumSpec {
pub kw: &'static [&'static str],
pub def: Option<&'static str>,
pub inv: Option<&'static str>,
pub canon: &'static [(&'static str, &'static str)],
pub nullable: bool,
}Fields§
§kw: &'static [&'static str]§def: Option<&'static str>属性が無いときの値(None は null)。
inv: Option<&'static str>属性が不正な値のときの値。
canon: &'static [(&'static str, &'static str)]非正規の綴り → 正規の綴り。
nullable: boolAuto Trait Implementations§
impl Freeze for EnumSpec
impl RefUnwindSafe for EnumSpec
impl Send for EnumSpec
impl Sync for EnumSpec
impl Unpin for EnumSpec
impl UnsafeUnpin for EnumSpec
impl UnwindSafe for EnumSpec
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