pub struct AsPreset;Trait Implementations§
Source§impl ArchiveWith<Atom> for AsPreset
impl ArchiveWith<Atom> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§type Resolver = StringResolver
type Resolver = StringResolver
The resolver of a
Self with F.Source§impl ArchiveWith<Browsers> for AsPreset
impl ArchiveWith<Browsers> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§impl ArchiveWith<JsonValue> for AsPreset
impl ArchiveWith<JsonValue> for AsPreset
Source§impl ArchiveWith<Map<String, Value>> for AsPreset
impl ArchiveWith<Map<String, Value>> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§impl ArchiveWith<SmolStr> for AsPreset
impl ArchiveWith<SmolStr> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§type Resolver = StringResolver
type Resolver = StringResolver
The resolver of a
Self with F.Source§impl ArchiveWith<Ustr> for AsPreset
impl ArchiveWith<Ustr> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§type Resolver = StringResolver
type Resolver = StringResolver
The resolver of a
Self with F.Source§impl ArchiveWith<Utf8PathBuf> for AsPreset
impl ArchiveWith<Utf8PathBuf> for AsPreset
Source§fn resolve_with(
_field: &Utf8PathBuf,
resolver: Self::Resolver,
out: Place<Self::Archived>,
)
fn resolve_with( _field: &Utf8PathBuf, resolver: Self::Resolver, out: Place<Self::Archived>, )
Resolves the archived type using a reference to the field type
F.Source§impl ArchiveWith<Value> for AsPreset
impl ArchiveWith<Value> for AsPreset
Source§type Archived = ArchivedString
type Archived = ArchivedString
The archived type of
Self with F.Source§impl ArchiveWith<Wtf8Atom> for AsPreset
impl ArchiveWith<Wtf8Atom> for AsPreset
Source§impl<D> DeserializeWith<<CacheableSource as Archive>::Archived, Arc<dyn Source>, D> for AsPreset
impl<D> DeserializeWith<<CacheableSource as Archive>::Archived, Arc<dyn Source>, D> for AsPreset
Source§fn deserialize_with(
field: &Archived<CacheableSource>,
deserializer: &mut D,
) -> Result<BoxSource>
fn deserialize_with( field: &Archived<CacheableSource>, deserializer: &mut D, ) -> Result<BoxSource>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<<PortablePath as Archive>::Archived, Utf8PathBuf, D> for AsPreset
impl<D> DeserializeWith<<PortablePath as Archive>::Archived, Utf8PathBuf, D> for AsPreset
Source§fn deserialize_with(
field: &Archived<PortablePath>,
de: &mut D,
) -> Result<Utf8PathBuf, D::Error>
fn deserialize_with( field: &Archived<PortablePath>, de: &mut D, ) -> Result<Utf8PathBuf, D::Error>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, Atom, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, Atom, D> for AsPreset
Source§fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Atom, D::Error>
fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Atom, D::Error>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, Browsers, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, Browsers, D> for AsPreset
Source§fn deserialize_with(
field: &ArchivedString,
_deserializer: &mut D,
) -> Result<Browsers>
fn deserialize_with( field: &ArchivedString, _deserializer: &mut D, ) -> Result<Browsers>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, JsonValue, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, JsonValue, D> for AsPreset
Source§fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<JsonValue>
fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<JsonValue>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, Map<String, Value>, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, Map<String, Value>, D> for AsPreset
Source§fn deserialize_with(
field: &ArchivedString,
_: &mut D,
) -> Result<Map<String, Value>>
fn deserialize_with( field: &ArchivedString, _: &mut D, ) -> Result<Map<String, Value>>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, SmolStr, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, SmolStr, D> for AsPreset
Source§fn deserialize_with(
field: &ArchivedString,
_: &mut D,
) -> Result<SmolStr, D::Error>
fn deserialize_with( field: &ArchivedString, _: &mut D, ) -> Result<SmolStr, D::Error>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, Ustr, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, Ustr, D> for AsPreset
Source§fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Ustr, D::Error>
fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Ustr, D::Error>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedString, Value, D> for AsPreset
impl<D> DeserializeWith<ArchivedString, Value, D> for AsPreset
Source§fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Value>
fn deserialize_with(field: &ArchivedString, _: &mut D) -> Result<Value>
Deserializes the field type
F using the given deserializer.Source§impl<D> DeserializeWith<ArchivedVec<u8>, Wtf8Atom, D> for AsPreset
impl<D> DeserializeWith<ArchivedVec<u8>, Wtf8Atom, D> for AsPreset
Source§fn deserialize_with(
field: &ArchivedVec<u8>,
_: &mut D,
) -> Result<Wtf8Atom, D::Error>
fn deserialize_with( field: &ArchivedVec<u8>, _: &mut D, ) -> Result<Wtf8Atom, D::Error>
Deserializes the field type
F using the given deserializer.Source§impl<S> SerializeWith<Atom, S> for AsPreset
impl<S> SerializeWith<Atom, S> for AsPreset
Source§impl<S> SerializeWith<Browsers, S> for AsPreset
impl<S> SerializeWith<Browsers, S> for AsPreset
Source§impl<S> SerializeWith<JsonValue, S> for AsPreset
impl<S> SerializeWith<JsonValue, S> for AsPreset
Source§impl<S> SerializeWith<SmolStr, S> for AsPreset
impl<S> SerializeWith<SmolStr, S> for AsPreset
Source§impl<S> SerializeWith<Ustr, S> for AsPreset
impl<S> SerializeWith<Ustr, S> for AsPreset
Source§impl<S> SerializeWith<Utf8PathBuf, S> for AsPreset
impl<S> SerializeWith<Utf8PathBuf, S> for AsPreset
Source§fn serialize_with(
field: &Utf8PathBuf,
serializer: &mut S,
) -> Result<Self::Resolver, S::Error>
fn serialize_with( field: &Utf8PathBuf, serializer: &mut S, ) -> Result<Self::Resolver, S::Error>
Serializes the field type
F using the given serializer.Source§impl<S> SerializeWith<Value, S> for AsPreset
impl<S> SerializeWith<Value, S> for AsPreset
Auto Trait Implementations§
impl Freeze for AsPreset
impl RefUnwindSafe for AsPreset
impl Send for AsPreset
impl Sync for AsPreset
impl Unpin for AsPreset
impl UnsafeUnpin for AsPreset
impl UnwindSafe for AsPreset
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.