struct PImgLayer<'a> {
data: &'a PsbValueFixed,
name: &'a str,
layer_id: i64,
layer_type: i64,
left: u32,
top: u32,
width: u32,
height: u32,
opacity: u8,
visible: bool,
type_: i64,
children: Vec<PImgLayer<'a>>,
}Available on crate feature
emote-img only.Fields§
§data: &'a PsbValueFixed§name: &'a str§layer_id: i64§layer_type: i64seems is layer type in PSD files
left: u32§top: u32§width: u32§height: u32§opacity: u8§visible: bool§type_: i64§children: Vec<PImgLayer<'a>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PImgLayer<'a>
impl<'a> RefUnwindSafe for PImgLayer<'a>
impl<'a> Send for PImgLayer<'a>
impl<'a> Sync for PImgLayer<'a>
impl<'a> Unpin for PImgLayer<'a>
impl<'a> UnwindSafe for PImgLayer<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more