pub struct Encoding(/* private fields */);
Implementations§
Source§impl Encoding
impl Encoding
pub fn get_charset(&self) -> Option<GString>
pub fn get_name(&self) -> Option<GString>
pub fn get_all() -> Vec<Encoding>
pub fn get_current() -> Option<Encoding>
pub fn get_default_candidates() -> Vec<Encoding>
pub fn get_from_charset(charset: &str) -> Option<Encoding>
pub fn get_utf8() -> Option<Encoding>
Trait Implementations§
Source§impl Ord for Encoding
impl Ord for Encoding
Source§impl PartialOrd for Encoding
impl PartialOrd for Encoding
Source§impl StaticType for Encoding
impl StaticType for Encoding
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl !Send for Encoding
impl !Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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