pub struct IniFileSection { /* private fields */ }
๐Deprecated since 1.2.0: Replaced by dedicated glacier-ini crate
Implementationsยง
Sourceยงimpl IniFileSection
impl IniFileSection
pub fn name(&self) -> String
๐Deprecated since 1.2.0: Replaced by dedicated glacier-ini crate
pub fn options(&self) -> &HashMap<String, String>
๐Deprecated since 1.2.0: Replaced by dedicated glacier-ini crate
pub fn has_option(&self, option_name: &str) -> bool
๐Deprecated since 1.2.0: Replaced by dedicated glacier-ini crate
pub fn write_section<W: Write>(&self, writer: &mut W)
๐Deprecated since 1.2.0: Replaced by dedicated glacier-ini crate
Trait Implementationsยง
Sourceยงimpl Debug for IniFileSection
impl Debug for IniFileSection
Sourceยงimpl Default for IniFileSection
impl Default for IniFileSection
Sourceยงfn default() -> IniFileSection
fn default() -> IniFileSection
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for IniFileSection
impl<'de> Deserialize<'de> for IniFileSection
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Index<&str> for IniFileSection
impl Index<&str> for IniFileSection
Sourceยงimpl IndexMut<&str> for IniFileSection
impl IndexMut<&str> for IniFileSection
Auto Trait Implementationsยง
impl Freeze for IniFileSection
impl RefUnwindSafe for IniFileSection
impl Send for IniFileSection
impl Sync for IniFileSection
impl Unpin for IniFileSection
impl UnwindSafe for IniFileSection
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> 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