pub struct EncodingIDExtensions;Expand description
Converts encoding ID to text encoding.
Implementations§
Source§impl EncodingIDExtensions
impl EncodingIDExtensions
Sourcepub fn as_encoding(id: EncodingIDs) -> Encoding
pub fn as_encoding(id: EncodingIDs) -> Encoding
Converts encoding ID to text encoding.
Auto Trait Implementations§
impl Freeze for EncodingIDExtensions
impl RefUnwindSafe for EncodingIDExtensions
impl Send for EncodingIDExtensions
impl Sync for EncodingIDExtensions
impl Unpin for EncodingIDExtensions
impl UnsafeUnpin for EncodingIDExtensions
impl UnwindSafe for EncodingIDExtensions
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more