pub enum AttributeTarget {
Alias,
Assignment,
Module,
Recipe,
}Variants§
Implementations§
Source§impl AttributeTarget
impl AttributeTarget
pub fn try_from_kind(kind: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for AttributeTarget
impl Clone for AttributeTarget
Source§fn clone(&self) -> AttributeTarget
fn clone(&self) -> AttributeTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AttributeTarget
impl Debug for AttributeTarget
Source§impl Display for AttributeTarget
impl Display for AttributeTarget
Source§impl PartialEq for AttributeTarget
impl PartialEq for AttributeTarget
Source§fn eq(&self, other: &AttributeTarget) -> bool
fn eq(&self, other: &AttributeTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AttributeTarget
impl Eq for AttributeTarget
impl StructuralPartialEq for AttributeTarget
Auto Trait Implementations§
impl Freeze for AttributeTarget
impl RefUnwindSafe for AttributeTarget
impl Send for AttributeTarget
impl Sync for AttributeTarget
impl Unpin for AttributeTarget
impl UnsafeUnpin for AttributeTarget
impl UnwindSafe for AttributeTarget
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