#[non_exhaustive]pub struct IslandPartition {
pub islands: Vec<Island>,
pub isolated: Vec<BusId>,
/* private fields */
}Expand description
The result of BalancedNetwork::calc_islands.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.islands: Vec<Island>Every island, largest first; islands of one size come in ascending order of their smallest bus id.
isolated: Vec<BusId>Buses typed isolated, which belong to no island.
Implementations§
Trait Implementations§
Source§impl Clone for IslandPartition
impl Clone for IslandPartition
Source§fn clone(&self) -> IslandPartition
fn clone(&self) -> IslandPartition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IslandPartition
impl Debug for IslandPartition
Source§impl Default for IslandPartition
impl Default for IslandPartition
Source§fn default() -> IslandPartition
fn default() -> IslandPartition
Returns the “default value” for a type. Read more
Source§impl PartialEq for IslandPartition
impl PartialEq for IslandPartition
impl StructuralPartialEq for IslandPartition
Auto Trait Implementations§
impl Freeze for IslandPartition
impl RefUnwindSafe for IslandPartition
impl Send for IslandPartition
impl Sync for IslandPartition
impl Unpin for IslandPartition
impl UnsafeUnpin for IslandPartition
impl UnwindSafe for IslandPartition
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