pub struct ReadCtx<'a> {
pub options: &'a ReadOptions,
pub large: bool,
}Expand description
Контекст чтения, прокидываемый в group-модули. Зеркало хвостовых аргументов
upstream ReadMethod (psd, imageResources) плюс опции ридера.
Поля сделаны опциональными ссылками, чтобы метаданные-группа (которой
контекст не нужен) могла вызываться и без полностью собранного Psd.
Группы, которым нужен psd/ресурсы (smart objects, linked files), будут
требовать соответствующие поля — это часть GROUP-MODULE CONTRACT.
Fields§
§options: &'a ReadOptions§large: boolAuto Trait Implementations§
impl<'a> Freeze for ReadCtx<'a>
impl<'a> RefUnwindSafe for ReadCtx<'a>
impl<'a> Send for ReadCtx<'a>
impl<'a> Sync for ReadCtx<'a>
impl<'a> Unpin for ReadCtx<'a>
impl<'a> UnsafeUnpin for ReadCtx<'a>
impl<'a> UnwindSafe for ReadCtx<'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