[][src]Struct exr::meta::LayerAttributes

pub struct LayerAttributes {
    pub name: Option<Text>,
    pub data_position: Vec2<i32>,
    pub screen_window_center: Vec2<f32>,
    pub screen_window_width: f32,
    pub list: Vec<Attribute>,
}

Does not include the attributes required for reading the file contents. Excludes standard fields that must be the same for all headers.

Fields

name: Option<Text>

The name of this layer. Required if this file contains deep data or multiple layers.

data_position: Vec2<i32>

The bottom left corner of the rectangle that positions this layer within the global infinite 2D space of the whole file. Equals the position of the data window.

screen_window_center: Vec2<f32>

Part of the perspective projection. Default should be (0, 0).

screen_window_width: f32

Part of the perspective projection. Default should be 1.

list: Vec<Attribute>

Optional attributes. Contains custom attributes. Does not contain the attributes already present in the Header or Attributes struct. Does not contain attributes that are standardized to be the same for all layers: no chromaticities and no time codes.

Trait Implementations

impl Clone for LayerAttributes[src]

impl Debug for LayerAttributes[src]

impl PartialEq<LayerAttributes> for LayerAttributes[src]

impl StructuralPartialEq for LayerAttributes[src]

Auto Trait Implementations

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> 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.