#[non_exhaustive]pub enum Unvalidated {
Argument(String),
Class(String),
ClassMethod(String, String),
ClassConstructor(String),
ClassDestructor(String),
Struct(String),
StructField(String, String),
Enum(String),
EnumVariant(String, String),
Interface(String),
InterfaceMethod(String, String),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Argument(String)
Reference to an argument Can only be used within the context of a function or callback function
Class(String)
Reference a class
ClassMethod(String, String)
Reference a class method
First string is the class name, second is the method’s name
ClassConstructor(String)
Reference to the class constructor
ClassDestructor(String)
Reference to the class destructor
Struct(String)
Reference a struct
StructField(String, String)
Reference a field within a struct
First string is the struct name, second is the field name
Enum(String)
Reference an enum
EnumVariant(String, String)
Reference an enum variant
First string is the enum name, second is the enum variant name
Interface(String)
Reference an interface
InterfaceMethod(String, String)
Reference a method of a interface
First string is the interface name, second is the method’s name
Trait Implementations§
Source§impl Clone for Unvalidated
impl Clone for Unvalidated
Source§fn clone(&self) -> Unvalidated
fn clone(&self) -> Unvalidated
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Unvalidated
impl Debug for Unvalidated
Source§impl PartialEq for Unvalidated
impl PartialEq for Unvalidated
impl DocReference for Unvalidated
impl Eq for Unvalidated
impl StructuralPartialEq for Unvalidated
Auto Trait Implementations§
impl Freeze for Unvalidated
impl RefUnwindSafe for Unvalidated
impl Send for Unvalidated
impl Sync for Unvalidated
impl Unpin for Unvalidated
impl UnwindSafe for Unvalidated
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