pub struct Type1Data<'a> {
pub encoding: Encoding<'a>,
pub private_dict: PrivateDict,
pub local_subr_index: Option<Index<'a>>,
}
Fields
encoding: Encoding<'a>
private_dict: PrivateDict
local_subr_index: Option<Index<'a>>
Trait Implementations
sourceimpl<'a> WriteBinary<&Type1Data<'a>> for Type1Data<'a>
impl<'a> WriteBinary<&Type1Data<'a>> for Type1Data<'a>
type Output = Type1DataOffsets
type Output = Type1DataOffsets
The type of the value returned by
write
.sourcefn write<C: WriteContext>(
ctxt: &mut C,
data: &Self
) -> Result<Self::Output, WriteError>
fn write<C: WriteContext>(
ctxt: &mut C,
data: &Self
) -> Result<Self::Output, WriteError>
Write the binary representation of Self to
ctxt
.Auto Trait Implementations
impl<'a> RefUnwindSafe for Type1Data<'a>
impl<'a> Send for Type1Data<'a>
impl<'a> Sync for Type1Data<'a>
impl<'a> Unpin for Type1Data<'a>
impl<'a> UnwindSafe for Type1Data<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by
write_dep
.sourcefn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
Write the binary representation of Self to
ctxt
.