pub fn from_bytes_with_options(input: &'de [u8], options: &Options) -> SpannedResult<Self> {
fn deserialize_newtype_struct<V>(self, name: &'static str, visitor: V) -> Result<V::Value>
// `RangeInclusive` used `last` as field name before it was renamed to `end` in a newer Rust version
// `last` is the old field name for `RangeToInclusive`, replaced by `end` in a newer Rust version
fn next_key_seed<K: de::DeserializeSeed<'de>>(&mut self, seed: K) -> Result<Option<K::Value>> {
fn next_key_seed<K: de::DeserializeSeed<'de>>(&mut self, seed: K) -> Result<Option<K::Value>> {
fn next_key_seed<K: de::DeserializeSeed<'de>>(&mut self, seed: K) -> Result<Option<K::Value>> {
fn struct_variant<V>(self, _fields: &'static [&'static str], visitor: V) -> Result<V::Value>
// SAFETY: `new_ptr` was created via `Box::into_raw` above and lost the CAS race, so it is safe to deallocate.
// SAFETY: `ptr` points to a valid, leaked `T` stored in the atomic static that lives for `'static`.