pub struct PlayersItem {
pub name: Ident,
pub players: Vec<PlayerField>,
pub doc: String,
pub span: Span,
}Expand description
A #[bern::players] struct: media players owned by the application,
shared by every window and addressed by their field names.
Fields§
§name: Ident§players: Vec<PlayerField>§doc: String§span: SpanTrait Implementations§
Source§impl Clone for PlayersItem
impl Clone for PlayersItem
Auto Trait Implementations§
impl !Send for PlayersItem
impl !Sync for PlayersItem
impl Freeze for PlayersItem
impl RefUnwindSafe for PlayersItem
impl Unpin for PlayersItem
impl UnsafeUnpin for PlayersItem
impl UnwindSafe for PlayersItem
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