pub struct Declared {
pub name: Ident,
pub role: Role,
}Expand description
One TYPE an emission declares, and what it is.
Fields§
§name: IdentWhat the type is called.
role: RoleWhich of the declaration’s types it is.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Declared
impl !Sync for Declared
impl Freeze for Declared
impl RefUnwindSafe for Declared
impl Unpin for Declared
impl UnsafeUnpin for Declared
impl UnwindSafe for Declared
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