pub enum Added {
Unchanged(u32),
Replaced {
index: u32,
previous: Option<Intrinsic>,
current: Intrinsic,
},
Refused,
}Expand description
What registering an image did.
Variants§
Unchanged(u32)
The bytes already registered at this url, unchanged.
Replaced
New bytes at this index: the url’s first registration, or
different bytes replacing what was there. previous is the
intrinsic size that answered for it before, None for a
fresh url — what a session reads to decide whether the box an
image takes moved.
Fields
Refused
The bytes did not probe: no size could be read from them.
Trait Implementations§
impl Copy for Added
impl StructuralPartialEq for Added
Auto Trait Implementations§
impl Freeze for Added
impl RefUnwindSafe for Added
impl Send for Added
impl Sync for Added
impl Unpin for Added
impl UnsafeUnpin for Added
impl UnwindSafe for Added
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.