Function wfc_image::generate_image_with_rng[][src]

pub fn generate_image_with_rng<W, F, IR, R>(
    image: &DynamicImage,
    pattern_size: NonZeroU32,
    output_size: Size,
    orientations: &[Orientation],
    wrap: W,
    forbid: F,
    retry: IR,
    rng: &mut R
) -> IR::ImageReturn where
    W: Wrap,
    F: ForbidPattern + Send + Sync + Clone,
    IR: ImageRetry,
    R: Rng + Send + Sync + Clone