Struct flattiverse_connector::Team
source · pub struct Team { /* private fields */ }
Implementations
sourceimpl Team
impl Team
pub fn from_reader(
connector: Weak<Connector>,
universe_group: &Arc<UniverseGroup>,
packet: &Packet,
reader: &mut dyn BinaryReader
) -> Result<Team, Error>
pub fn id(&self) -> u8
pub fn scores(&self) -> &Option<Scores>
pub fn color(&self) -> &Color
pub fn chat(&self, message: &str) -> Result<(), Error>
pub fn name(&self) -> &str
pub fn universe_group(&self) -> &Weak<UniverseGroup>
Trait Implementations
sourceimpl Borrow<Team> for TournamentTeam
impl Borrow<Team> for TournamentTeam
Auto Trait Implementations
impl !RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl !UnwindSafe for Team
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more