pub struct LayerOptions {
pub opacity: u8,
pub blend_mode: BlendMode,
pub visible: bool,
pub editable: bool,
pub lock_movement: bool,
pub background: bool,
pub collapsed: bool,
pub prefer_linked_cels: bool,
pub reference_layer: bool,
}Expand description
Options for creating a new layer.
Fields§
§opacity: u8§blend_mode: BlendMode§visible: bool§editable: bool§lock_movement: bool§background: bool§collapsed: bool§prefer_linked_cels: bool§reference_layer: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for LayerOptions
impl RefUnwindSafe for LayerOptions
impl Send for LayerOptions
impl Sync for LayerOptions
impl Unpin for LayerOptions
impl UnsafeUnpin for LayerOptions
impl UnwindSafe for LayerOptions
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