Struct designspace::Instance[][src]

pub struct Instance {
    pub familyname: String,
    pub stylename: String,
    pub name: Option<String>,
    pub filename: Option<String>,
    pub postscriptfontname: Option<String>,
    pub stylemapfamilyname: Option<String>,
    pub stylemapstylename: Option<String>,
    pub location: Location,
}
Expand description

An individual instance descriptor

Fields

familyname: String

The family name of this instance

stylename: String

The style name of this instance

name: Option<String>

The full name of this instance

filename: Option<String>

The filename for this instance

postscriptfontname: Option<String>

The PostScript family name for this instance

stylemapfamilyname: Option<String>

The style map family name for this instance

stylemapstylename: Option<String>

The style map style name for this instance

location: Location

The location of this instance in the designspace

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.