Struct flattiverse_connector::Universe
source · pub struct Universe { /* private fields */ }
Expand description
This implementation does not provide administrative functionality due to time limitation while porting.
Implementations
sourceimpl Universe
impl Universe
pub fn from_reader(
universe_group: &Arc<UniverseGroup>,
packet: &Packet,
reader: &mut dyn BinaryReader
) -> Result<Universe, Error>
pub fn universe_group(&self) -> &Weak<UniverseGroup>
pub fn connector(&self) -> &Weak<Connector>
pub fn id(&self) -> u8
pub fn name(&self) -> &str
pub fn description(&self) -> &str
sourcepub fn start(&self) -> bool
pub fn start(&self) -> bool
Whether this is the start Universe of its UniverseGroup
sourcepub fn query_events(&self) -> Result<Vec<AnyUniverseEvent>, Error>
pub fn query_events(&self) -> Result<Vec<AnyUniverseEvent>, Error>
Administrative functionality
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Universe
impl Send for Universe
impl Sync for Universe
impl Unpin for Universe
impl !UnwindSafe for Universe
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