[][src]Struct psd::PsdGroup

pub struct PsdGroup { /* fields omitted */ }

PsdGroup represents a group of layers

Implementations

impl PsdGroup[src]

pub fn new(
    name: String,
    id: u32,
    contained_layers: Range<usize>,
    layer_record: &LayerRecord,
    psd_width: u32,
    psd_height: u32,
    group_id: Option<u32>
) -> Self
[src]

Create a new photoshop group layer

pub fn id(&self) -> u32[src]

A unique identifier for the layer within the PSD file

Trait Implementations

impl Clone for PsdGroup[src]

impl Debug for PsdGroup[src]

impl Deref for PsdGroup[src]

type Target = LayerProperties

The resulting type after dereferencing.

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.