pub struct EnumValues { /* private fields */ }
Implementations§
Source§impl EnumValues
impl EnumValues
pub fn new(path: DocumentPath, ctx: &Context<'_>) -> Result<Self, Error>
pub fn allowed_types() -> HashSet<AllowedType>
pub fn build( _: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Box<dyn Attribute>, Error>
Trait Implementations§
Source§impl Attribute for EnumValues
impl Attribute for EnumValues
Auto Trait Implementations§
impl Freeze for EnumValues
impl RefUnwindSafe for EnumValues
impl Send for EnumValues
impl Sync for EnumValues
impl Unpin for EnumValues
impl UnwindSafe for EnumValues
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