pub enum AstImplementationTarget {
All,
Struct,
Enum,
}Variants§
Implementations§
Source§impl AstImplementationTarget
impl AstImplementationTarget
pub fn is_valid(&self, other: AstImplementationTarget) -> bool
Trait Implementations§
Source§impl Clone for AstImplementationTarget
impl Clone for AstImplementationTarget
Source§fn clone(&self) -> AstImplementationTarget
fn clone(&self) -> AstImplementationTarget
Returns a duplicate 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 AstImplementationTarget
impl Debug for AstImplementationTarget
Source§impl Default for AstImplementationTarget
impl Default for AstImplementationTarget
Source§impl Hash for AstImplementationTarget
impl Hash for AstImplementationTarget
Source§impl PartialEq for AstImplementationTarget
impl PartialEq for AstImplementationTarget
impl Copy for AstImplementationTarget
impl Eq for AstImplementationTarget
impl StructuralPartialEq for AstImplementationTarget
Auto Trait Implementations§
impl Freeze for AstImplementationTarget
impl RefUnwindSafe for AstImplementationTarget
impl Send for AstImplementationTarget
impl Sync for AstImplementationTarget
impl Unpin for AstImplementationTarget
impl UnsafeUnpin for AstImplementationTarget
impl UnwindSafe for AstImplementationTarget
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