pub struct PlexusConfig {
pub layout: PlexusLayout,
pub points: u32,
pub seed: u64,
}Expand description
The [plexus] table, validated (ADR-0180 rule 1).
Fields§
§layout: PlexusLayoutWhich arrangement the points take.
points: u32How many points, in MIN_POINTS..=MAX_POINTS; the tier may hold
it lower.
seed: u64What every point’s start and the flow are drawn from.
Trait Implementations§
Source§impl Clone for PlexusConfig
impl Clone for PlexusConfig
Source§fn clone(&self) -> PlexusConfig
fn clone(&self) -> PlexusConfig
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 PlexusConfig
impl Debug for PlexusConfig
Source§impl Default for PlexusConfig
impl Default for PlexusConfig
Source§impl PartialEq for PlexusConfig
impl PartialEq for PlexusConfig
Source§fn eq(&self, other: &PlexusConfig) -> bool
fn eq(&self, other: &PlexusConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlexusConfig
impl StructuralPartialEq for PlexusConfig
Auto Trait Implementations§
impl Freeze for PlexusConfig
impl RefUnwindSafe for PlexusConfig
impl Send for PlexusConfig
impl Sync for PlexusConfig
impl Unpin for PlexusConfig
impl UnsafeUnpin for PlexusConfig
impl UnwindSafe for PlexusConfig
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