pub enum Applies<'a> {
All,
OnlyType(&'a str),
}
Expand description
An enum that describes if a field is available in all types of the interface or only in a certain subtype
Variants
All
The field is available independent from the type
OnlyType(&'a str)
The field is only available for a given typename
Trait Implementations
sourceimpl<'a> PartialEq<Applies<'a>> for Applies<'a>
impl<'a> PartialEq<Applies<'a>> for Applies<'a>
impl<'a> StructuralPartialEq for Applies<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Applies<'a>
impl<'a> Send for Applies<'a>
impl<'a> Sync for Applies<'a>
impl<'a> Unpin for Applies<'a>
impl<'a> UnwindSafe for Applies<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more