pub struct AttributeInfo {
pub name: &'static str,
pub detail: &'static str,
/* private fields */
}Fields§
§name: &'static str§detail: &'static strImplementations§
Source§impl AttributeInfo
impl AttributeInfo
pub fn applies_to(&self, target: AttributeTarget) -> bool
Auto Trait Implementations§
impl Freeze for AttributeInfo
impl RefUnwindSafe for AttributeInfo
impl Send for AttributeInfo
impl Sync for AttributeInfo
impl Unpin for AttributeInfo
impl UnsafeUnpin for AttributeInfo
impl UnwindSafe for AttributeInfo
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