pub struct CreateFencedDescription {
pub mask: u32,
pub parts: Vec<Option<String>>,
pub max: (i32, i32),
pub min: (i32, i32),
pub centered: bool,
pub clear: Option<String>,
}Expand description
CreateFencedDescription: the fenced tool’s (FencedTool) cell-type mask, its six part templates
(shelter, end, corner, straight, long straight, gate), the largest, and smallest, size, the
shelter centred on its side, and the template whose entities may stand in the way.
Original: FUN_140048250.
Fields§
§mask: u32The cell types it may cover.
parts: Vec<Option<String>>The part templates: shelter, end, corner, straight, long straight, gate.
max: (i32, i32)The largest size.
min: (i32, i32)The smallest size.
centered: boolWhether the shelter is centred on its side.
clear: Option<String>The template whose entities may stand in the way.
Trait Implementations§
Source§impl Clone for CreateFencedDescription
impl Clone for CreateFencedDescription
Source§fn clone(&self) -> CreateFencedDescription
fn clone(&self) -> CreateFencedDescription
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 CreateFencedDescription
impl Debug for CreateFencedDescription
Source§impl Default for CreateFencedDescription
impl Default for CreateFencedDescription
Source§fn default() -> CreateFencedDescription
fn default() -> CreateFencedDescription
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateFencedDescription
impl PartialEq for CreateFencedDescription
impl StructuralPartialEq for CreateFencedDescription
Auto Trait Implementations§
impl Freeze for CreateFencedDescription
impl RefUnwindSafe for CreateFencedDescription
impl Send for CreateFencedDescription
impl Sync for CreateFencedDescription
impl Unpin for CreateFencedDescription
impl UnsafeUnpin for CreateFencedDescription
impl UnwindSafe for CreateFencedDescription
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