Struct wfc::PatternDescription
source · pub struct PatternDescription {
pub weight: Option<NonZeroU32>,
pub allowed_neighbours: CardinalDirectionTable<Vec<PatternId>>,
}
Fields
weight: Option<NonZeroU32>
allowed_neighbours: CardinalDirectionTable<Vec<PatternId>>
Implementations
sourceimpl PatternDescription
impl PatternDescription
pub fn new(
weight: Option<NonZeroU32>,
allowed_neighbours: CardinalDirectionTable<Vec<PatternId>>
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for PatternDescription
impl Send for PatternDescription
impl Sync for PatternDescription
impl Unpin for PatternDescription
impl UnwindSafe for PatternDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more