[−][src]Struct nonogrid::parser::NonogramsOrg
Methods
impl NonogramsOrg
[src]
pub fn decipher(&self) -> (Vec<String>, Vec<Vec<ColorId>>)
[src]
Reverse engineered version of the part of the script http://www.nonograms.org/js/nonogram.min.059.js that produces a nonogram solution for the given cyphered solution (it can be found in puzzle HTML in the form 'var d=[...]').
pub fn encoded(&self) -> &Vec<Vec<u16>>
[src]
Trait Implementations
impl BoardParser for NonogramsOrg
[src]
fn with_content(content: String) -> Result<Self, String>
[src]
fn parse<B>(&self) -> Board<B> where
B: Block,
[src]
B: Block,
fn infer_scheme(&self) -> PuzzleScheme
[src]
impl LocalReader for NonogramsOrg
[src]
fn read_local(file_name: &str) -> Result<Self, String> where
Self: Sized,
[src]
Self: Sized,
fn file_content(file_name: &str) -> Result<String, String>
[src]
impl NetworkReader for NonogramsOrg
[src]
fn read_remote(file_name: &str) -> Result<Self, String>
[src]
fn http_content(url: String) -> Result<String, String>
[src]
impl Paletted for NonogramsOrg
[src]
fn get_colors(&self) -> Vec<(String, char, String)>
[src]
fn get_palette(&self) -> ColorPalette
[src]
Auto Trait Implementations
impl Send for NonogramsOrg
impl Sync for NonogramsOrg
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,