[−][src]Struct fumen::Fumen
Fields
pages: Vec<Page>
guideline: bool
Implementations
impl Fumen
[src]
pub fn encode(&self) -> String
[src]
Encode as a fumen data string.
pub fn decode(data: &str) -> Result<Fumen, DecodeFumenError>
[src]
Decodes a fumen data string.
pub fn add_page(&mut self) -> &mut Page
[src]
Create a new page, in the same way as creating a new page in fumen does.
This will apply the piece locking, line clear, rise, and mirror rules just like fumen does.
Trait Implementations
impl Clone for Fumen
[src]
impl Debug for Fumen
[src]
impl Default for Fumen
[src]
impl Eq for Fumen
[src]
impl Hash for Fumen
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Fumen> for Fumen
[src]
impl StructuralEq for Fumen
[src]
impl StructuralPartialEq for Fumen
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fumen
impl Send for Fumen
impl Sync for Fumen
impl Unpin for Fumen
impl UnwindSafe for Fumen
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,