[][src]Struct glyph_bbox::dataset::DataSet

pub struct DataSet {
    pub error: Option<String>,
    pub config: DataSetConfig,
    pub data: Data,
}

Fields

error: Option<String>config: DataSetConfigdata: Data

Methods

impl DataSet[src]

pub fn from_file(opts: ReadOptions) -> DataSet[src]

pub fn from_json_string(s: &String) -> DataSet[src]

pub fn write(&self, opts: WriteOptions) -> Result<(), Error>[src]

pub fn bounding_box(
    &self,
    s: &str,
    opts: BoundingBoxRenderOptions
) -> Option<BoundingBox>
[src]

Trait Implementations

impl Clone for DataSet[src]

impl Debug for DataSet[src]

impl<'de> Deserialize<'de> for DataSet[src]

impl Serialize for DataSet[src]

Auto Trait Implementations

impl RefUnwindSafe for DataSet

impl Send for DataSet

impl Sync for DataSet

impl Unpin for DataSet

impl UnwindSafe for DataSet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.