pub trait Xc3Write {
type Offsets<'a>
where Self: 'a;
const ALIGNMENT: u64 = 4u64;
// Required method
fn xc3_write<W: Write + Seek>(
&self,
writer: &mut W,
data_ptr: &mut u64
) -> Xc3Result<Self::Offsets<'_>>;
// Provided method
fn should_write(&self) -> Option<bool> { ... }
}Expand description
The write pass that writes fields and placeholder offsets.
Required Associated Types§
sourcetype Offsets<'a>
where
Self: 'a
type Offsets<'a> where Self: 'a
The type storing offset data to be used in Xc3WriteOffsets.
Provided Associated Constants§
Required Methods§
Provided Methods§
sourcefn should_write(&self) -> Option<bool>
fn should_write(&self) -> Option<bool>
Return true if this type has no data and should not be written.
Object Safety§
This trait is not object safe.