Struct icu::pattern::MissingNamedPlaceholderError
source · #[non_exhaustive]pub struct MissingNamedPlaceholderError<'a> {
pub name: &'a str,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: &'a str
Trait Implementations§
source§impl<'a> Clone for MissingNamedPlaceholderError<'a>
impl<'a> Clone for MissingNamedPlaceholderError<'a>
source§fn clone(&self) -> MissingNamedPlaceholderError<'a>
fn clone(&self) -> MissingNamedPlaceholderError<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for MissingNamedPlaceholderError<'a>
impl<'a> Debug for MissingNamedPlaceholderError<'a>
source§impl<'a> PartialEq for MissingNamedPlaceholderError<'a>
impl<'a> PartialEq for MissingNamedPlaceholderError<'a>
source§fn eq(&self, other: &MissingNamedPlaceholderError<'a>) -> bool
fn eq(&self, other: &MissingNamedPlaceholderError<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl Writeable for MissingNamedPlaceholderError<'_>
impl Writeable for MissingNamedPlaceholderError<'_>
source§fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
Writes a string to the given sink. Errors from the sink are bubbled up.
The default implementation delegates to
write_to_parts
, and discards any
Part
annotations.source§fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
Write bytes and
Part
annotations to the given sink. Errors from the
sink are bubbled up. The default implementation delegates to write_to
,
and doesn’t produce any Part
annotations.source§fn writeable_length_hint(&self) -> LengthHint
fn writeable_length_hint(&self) -> LengthHint
Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
impl<'a> Eq for MissingNamedPlaceholderError<'a>
impl<'a> StructuralPartialEq for MissingNamedPlaceholderError<'a>
Auto Trait Implementations§
impl<'a> Freeze for MissingNamedPlaceholderError<'a>
impl<'a> RefUnwindSafe for MissingNamedPlaceholderError<'a>
impl<'a> Send for MissingNamedPlaceholderError<'a>
impl<'a> Sync for MissingNamedPlaceholderError<'a>
impl<'a> Unpin for MissingNamedPlaceholderError<'a>
impl<'a> UnwindSafe for MissingNamedPlaceholderError<'a>
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 more