pub struct Emitted {
pub owner: Owner,
pub owner_name: Ident,
pub name: Ident,
pub origin: Origin,
}Expand description
One method an emission declares, on one emitted type.
Fields§
§owner: OwnerWhich type the method lands on.
owner_name: IdentWhat that type is CALLED, for the sentence a refusal writes.
name: IdentWhat the method is called.
origin: OriginWhat produced the name.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Emitted
impl !Sync for Emitted
impl Freeze for Emitted
impl RefUnwindSafe for Emitted
impl Unpin for Emitted
impl UnsafeUnpin for Emitted
impl UnwindSafe for Emitted
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