pub struct LayerMask {Show 14 fields
pub top: i32,
pub left: i32,
pub bottom: i32,
pub right: i32,
pub default_color: u8,
pub flags: u8,
pub mask_parameters: Option<u8>,
pub mask_data: Option<Vec<u8>>,
pub real_flags: Option<u8>,
pub real_user_mask_background: Option<u8>,
pub mask_top: Option<i32>,
pub mask_left: Option<i32>,
pub mask_bottom: Option<i32>,
pub mask_right: Option<i32>,
}Available on crate feature
utils-psd only.Fields§
§top: i32§left: i32§bottom: i32§right: i32§default_color: u8§flags: u8§mask_parameters: Option<u8>§mask_data: Option<Vec<u8>>§real_flags: Option<u8>§real_user_mask_background: Option<u8>§mask_top: Option<i32>§mask_left: Option<i32>§mask_bottom: Option<i32>§mask_right: Option<i32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayerMask
impl RefUnwindSafe for LayerMask
impl Send for LayerMask
impl Sync for LayerMask
impl Unpin for LayerMask
impl UnwindSafe for LayerMask
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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