pub struct PlaysFact { /* private fields */ }Expand description
A direct role-playing fact.
Implementations§
Source§impl PlaysFact
impl PlaysFact
Sourcepub const fn new(id: PlaysFactId) -> Self
pub const fn new(id: PlaysFactId) -> Self
Construct a role-playing fact.
Sourcepub const fn id(&self) -> &PlaysFactId
pub const fn id(&self) -> &PlaysFactId
Return the fact identity.
Trait Implementations§
impl Eq for PlaysFact
impl StructuralPartialEq for PlaysFact
Auto Trait Implementations§
impl Freeze for PlaysFact
impl RefUnwindSafe for PlaysFact
impl Send for PlaysFact
impl Sync for PlaysFact
impl Unpin for PlaysFact
impl UnsafeUnpin for PlaysFact
impl UnwindSafe for PlaysFact
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