pub struct EncodingSetting { /* private fields */ }Expand description
A parsed encoding= entry from an openmw.cfg file.
At most one encoding= entry is meaningful per resolved configuration chain (singleton
semantics). The encoding affects how byte strings in plugin records are decoded.
Implementations§
Source§impl EncodingSetting
impl EncodingSetting
Sourcepub fn value(&self) -> EncodingType
pub fn value(&self) -> EncodingType
The parsed encoding type.
Trait Implementations§
Source§impl Clone for EncodingSetting
impl Clone for EncodingSetting
Source§impl Debug for EncodingSetting
impl Debug for EncodingSetting
Source§impl Display for EncodingSetting
impl Display for EncodingSetting
Source§impl PartialEq for EncodingSetting
impl PartialEq for EncodingSetting
Auto Trait Implementations§
impl Freeze for EncodingSetting
impl RefUnwindSafe for EncodingSetting
impl Send for EncodingSetting
impl Sync for EncodingSetting
impl Unpin for EncodingSetting
impl UnsafeUnpin for EncodingSetting
impl UnwindSafe for EncodingSetting
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§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