pub struct ContractBar {
pub region: String,
pub boxes: Vec<Region>,
pub block: String,
}Expand description
A barred edge’s bar: the region that stands in the way, and its block.
Fields§
§region: StringThe region’s name.
boxes: Vec<Region>The cells it covers.
block: StringThe block state the bar is built from.
Trait Implementations§
Source§impl Clone for ContractBar
impl Clone for ContractBar
Source§impl Debug for ContractBar
impl Debug for ContractBar
Source§impl<'de> Deserialize<'de> for ContractBar
impl<'de> Deserialize<'de> for ContractBar
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
Source§impl JsonSchema for ContractBar
impl JsonSchema for ContractBar
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ContractBar
impl PartialEq for ContractBar
Source§impl Serialize for ContractBar
impl Serialize for ContractBar
impl StructuralPartialEq for ContractBar
Auto Trait Implementations§
impl Freeze for ContractBar
impl RefUnwindSafe for ContractBar
impl Send for ContractBar
impl Sync for ContractBar
impl Unpin for ContractBar
impl UnsafeUnpin for ContractBar
impl UnwindSafe for ContractBar
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