pub struct CreateBridgeDescription {
pub span: u32,
pub banks: u32,
pub shown: u32,
pub needs: u32,
pub sides: u32,
pub half_width: i32,
pub parts: Vec<Option<String>>,
}Expand description
CreateBridgeDescription: the bridge tool’s (BridgeTool) cell-type masks: the cells it spans
(water), its banks, further cells drawn as valid, at least one spanned cell of these, the cells
beside it within (its half width); the part templates (start, 1, 2, 4 and 8 cells long).
Original: FUN_14011eaa0.
Fields§
§span: u32The cell types it spans (water).
banks: u32The cell types of its banks.
shown: u32Further cell types drawn as valid.
needs: u32The cell types of which at least one spanned cell is needed.
sides: u32The cell types allowed beside it.
half_width: i32Its half width, in cells.
parts: Vec<Option<String>>The part templates: the start, then 1, 2, 4 and 8 cells long.
Trait Implementations§
Source§impl Clone for CreateBridgeDescription
impl Clone for CreateBridgeDescription
Source§fn clone(&self) -> CreateBridgeDescription
fn clone(&self) -> CreateBridgeDescription
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 CreateBridgeDescription
impl Debug for CreateBridgeDescription
Source§impl Default for CreateBridgeDescription
impl Default for CreateBridgeDescription
Source§fn default() -> CreateBridgeDescription
fn default() -> CreateBridgeDescription
Returns the “default value” for a type. Read more
impl Eq for CreateBridgeDescription
Source§impl PartialEq for CreateBridgeDescription
impl PartialEq for CreateBridgeDescription
impl StructuralPartialEq for CreateBridgeDescription
Auto Trait Implementations§
impl Freeze for CreateBridgeDescription
impl RefUnwindSafe for CreateBridgeDescription
impl Send for CreateBridgeDescription
impl Sync for CreateBridgeDescription
impl Unpin for CreateBridgeDescription
impl UnsafeUnpin for CreateBridgeDescription
impl UnwindSafe for CreateBridgeDescription
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