Struct icu_normalizer::IsNormalizedSinkUtf16
source · pub(crate) struct IsNormalizedSinkUtf16<'a> {
pub(crate) expect: &'a [u16],
}
Fields§
§expect: &'a [u16]
Implementations§
Trait Implementations§
source§impl<'a> Write16 for IsNormalizedSinkUtf16<'a>
impl<'a> Write16 for IsNormalizedSinkUtf16<'a>
source§fn write_slice(&mut self, s: &[u16]) -> Result
fn write_slice(&mut self, s: &[u16]) -> Result
Write a slice containing UTF-16 to the sink. Read more
source§fn write_char(&mut self, c: char) -> Result
fn write_char(&mut self, c: char) -> Result
Write a Unicode scalar value to the sink.
source§fn size_hint(&mut self, upcoming: usize) -> Result<(), Error>
fn size_hint(&mut self, upcoming: usize) -> Result<(), Error>
A hint that the caller expects to write
upcoming
UTF-16
code units. The implementation must not assume upcoming
to be exact. The caller may write more or fewer code units
using write_slice()
and write_char()
. However, the
caller should try to give reasonable estimates if it uses
this method. Read moreAuto Trait Implementations§
impl<'a> Freeze for IsNormalizedSinkUtf16<'a>
impl<'a> RefUnwindSafe for IsNormalizedSinkUtf16<'a>
impl<'a> Send for IsNormalizedSinkUtf16<'a>
impl<'a> Sync for IsNormalizedSinkUtf16<'a>
impl<'a> Unpin for IsNormalizedSinkUtf16<'a>
impl<'a> UnwindSafe for IsNormalizedSinkUtf16<'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