pub struct BridgeOptions {
pub loops: (LoopId, LoopId),
pub max_edges: Option<usize>,
}Expand description
Options for bridge_loops.
Fields§
§loops: (LoopId, LoopId)The two loops to connect. Order is insignificant: the smaller id is always traversed first internally.
max_edges: Option<usize>Maximum vertices per loop. None means BRIDGE_DEFAULT_MAX_EDGES.
Implementations§
Source§impl BridgeOptions
impl BridgeOptions
Sourcepub fn builder(a: LoopId, b: LoopId) -> BridgeOptionsBuilder
pub fn builder(a: LoopId, b: LoopId) -> BridgeOptionsBuilder
A builder for the two loops to connect.
Trait Implementations§
Source§impl Clone for BridgeOptions
impl Clone for BridgeOptions
Source§fn clone(&self) -> BridgeOptions
fn clone(&self) -> BridgeOptions
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 moreimpl Copy for BridgeOptions
Source§impl Debug for BridgeOptions
impl Debug for BridgeOptions
Source§impl PartialEq for BridgeOptions
impl PartialEq for BridgeOptions
impl StructuralPartialEq for BridgeOptions
Auto Trait Implementations§
impl Freeze for BridgeOptions
impl RefUnwindSafe for BridgeOptions
impl Send for BridgeOptions
impl Sync for BridgeOptions
impl Unpin for BridgeOptions
impl UnsafeUnpin for BridgeOptions
impl UnwindSafe for BridgeOptions
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