pub struct Need {}Expand description
One thing the place needs, described so a store can answer it.
Fields§
§kind: StringWhat it is: column · arch · stairs · table · rock …
at: [f32; 3]§yaw: f32Facing, degrees (the manifest’s yaw convention).
w: f32Wanted size in metres; 0 means “don’t care about this axis”.
h: f32§d: f32§tol: f32How far off the wanted size is still acceptable.
style: StringStyle hint, else the plan’s palette.
commission: boolIf nothing fits, may the binder commission one? (Almost always yes;
false means “skip it rather than invent it”.)
must: boolDoes the place fail without it? Reported by the binder.
solid: boolBlocks walking (the manifest’s solid).
name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Need
impl<'de> Deserialize<'de> for Need
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Need
Auto Trait Implementations§
impl Freeze for Need
impl RefUnwindSafe for Need
impl Send for Need
impl Sync for Need
impl Unpin for Need
impl UnsafeUnpin for Need
impl UnwindSafe for Need
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