Struct designspace::Source[][src]

pub struct Source {
    pub familyname: Option<String>,
    pub stylename: Option<String>,
    pub name: Option<String>,
    pub filename: String,
    pub layer: Option<String>,
    pub location: Location,
}
Expand description

An individual source descriptor

Fields

familyname: Option<String>

The family name for this source

stylename: Option<String>

The stylename for this source

name: Option<String>

The complete name for this source

filename: String

The filename for this source

layer: Option<String>

The name of the layer in the source to look for outline data

location: Location

The location of this source within the coordinates

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.