pub struct ScoreComponent {
pub score: Score,
pub base: BaseComponent,
}Fields§
§score: Score§base: BaseComponentImplementations§
Trait Implementations§
Source§impl Clone for ScoreComponent
impl Clone for ScoreComponent
Source§fn clone(&self) -> ScoreComponent
fn clone(&self) -> ScoreComponent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Component for ScoreComponent
impl Component for ScoreComponent
fn get_base(&self) -> &BaseComponent
Source§impl Debug for ScoreComponent
impl Debug for ScoreComponent
Source§impl<'de> Deserialize<'de> for ScoreComponent
impl<'de> Deserialize<'de> for ScoreComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ScoreComponent> for ComponentType
impl From<ScoreComponent> for ComponentType
Source§fn from(component: ScoreComponent) -> Self
fn from(component: ScoreComponent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScoreComponent
impl PartialEq for ScoreComponent
Source§impl Serialize for ScoreComponent
impl Serialize for ScoreComponent
impl StructuralPartialEq for ScoreComponent
Auto Trait Implementations§
impl Freeze for ScoreComponent
impl RefUnwindSafe for ScoreComponent
impl Send for ScoreComponent
impl Sync for ScoreComponent
impl Unpin for ScoreComponent
impl UnwindSafe for ScoreComponent
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