Struct wfc::RunOwnAll [−][src]
pub struct RunOwnAll<W: Wrap = WrapXY, F: ForbidPattern = ForbidNothing> { /* fields omitted */ }
Expand description
Represents a running instance of wfc which allocates and owns its resources including a copy of the GlobalStats
Implementations
pub fn new_forbid<R: Rng>(
output_size: Size,
global_stats: GlobalStats,
forbid: F,
rng: &mut R
) -> Self
pub fn new_wrap_forbid<R: Rng>(
output_size: Size,
global_stats: GlobalStats,
wrap: W,
forbid: F,
rng: &mut R
) -> Self
pub fn collapse_retrying<R, RO>(self, retry: RO, rng: &mut R) -> RO::Return where
R: Rng,
RO: RetryOwnAll,
Trait Implementations
Auto Trait Implementations
impl<W, F> RefUnwindSafe for RunOwnAll<W, F> where
F: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, F> UnwindSafe for RunOwnAll<W, F> where
F: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V