pub struct PlayerField {
pub name: Ident,
pub doc: String,
pub span: Span,
}Expand description
One application player in a #[bern::players] struct.
Fields§
§name: Ident§doc: String§span: SpanTrait Implementations§
Source§impl Clone for PlayerField
impl Clone for PlayerField
Auto Trait Implementations§
impl !Send for PlayerField
impl !Sync for PlayerField
impl Freeze for PlayerField
impl RefUnwindSafe for PlayerField
impl Unpin for PlayerField
impl UnsafeUnpin for PlayerField
impl UnwindSafe for PlayerField
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