Struct doc_9_testing_12345::GBP[][src]

pub struct GBP(pub i32);

Parse your money from a string

use doc_9_testing_12345::*;
let g = "£32.45".parse(); 
assert_eq!(g,Ok(GBP(3245)));

Trait Implementations

impl Debug for GBP
[src]

Formats the value using the given formatter. Read more

impl PartialEq for GBP
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for GBP
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for GBP

impl Sync for GBP