pub struct CopyLayer<'h> {
pub payload_hook: Option<&'h PayloadHook<'h>>,
pub row_hook: Option<&'h mut RowHook<'h>>,
pub parent: Option<i64>,
}Expand description
Options for ClipFile::copy_layer_from.
Fields§
§payload_hook: Option<&'h PayloadHook<'h>>Rewrites external payloads while they are copied (for example the
copied layer’s VectorObjectList.VectorData).
row_hook: Option<&'h mut RowHook<'h>>Rewrites the new Layer row before it is inserted.
parent: Option<i64>Folder the copy goes into (on top of its children); the root folder when None.
Trait Implementations§
Auto Trait Implementations§
impl<'h> !RefUnwindSafe for CopyLayer<'h>
impl<'h> !Send for CopyLayer<'h>
impl<'h> !Sync for CopyLayer<'h>
impl<'h> !UnwindSafe for CopyLayer<'h>
impl<'h> Freeze for CopyLayer<'h>
impl<'h> Unpin for CopyLayer<'h>
impl<'h> UnsafeUnpin for CopyLayer<'h>
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