pub struct WriteCtx<'a> {
pub options: &'a WriteOptions,
pub psb: bool,
pub layer_ids: HashSet<u32>,
}Expand description
Контекст записи. Зеркало ExtendedWriteOptions (опции + layerIds /
layerToId для дедупликации id в lyid).
Fields§
§options: &'a WriteOptions§psb: bool§layer_ids: HashSet<u32>уже использованные id слоёв (см. lyid-хэндлер: дубликаты сдвигаются +100).
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for WriteCtx<'a>
impl<'a> RefUnwindSafe for WriteCtx<'a>
impl<'a> Send for WriteCtx<'a>
impl<'a> Sync for WriteCtx<'a>
impl<'a> Unpin for WriteCtx<'a>
impl<'a> UnsafeUnpin for WriteCtx<'a>
impl<'a> UnwindSafe for WriteCtx<'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