[−][src]Struct casual_logger::Table
TOML table included in the log file. The form is not validated.
However, if "Log::set_opt(Opt::BeginnersSupport)" is set,
it will intervene with some automatic correction.
ログファイルに含まれるTOMLテーブル。書式の妥当性検証はしません。
ただし、"Log::set_opt(Opt::BeginnersSupport)" が設定されている場合は、
ある程度の自動修正で介入します。
Implementations
impl Table
[src]
pub fn bool<'a>(&'a mut self, key: &'a str, value: bool) -> &'a mut Self
[src]
Insert boolean value.
真理値を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn char<'a>(&'a mut self, key: &'a str, value: char) -> &'a mut Self
[src]
Insert character value.
文字を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn float<'a>(&'a mut self, key: &'a str, value: f64) -> &'a mut Self
[src]
Insert float value.
浮動小数点数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn int<'a>(&'a mut self, key: &'a str, value: i128) -> &'a mut Self
[src]
Insert integer value.
符号付き整数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn isize<'a>(&'a mut self, key: &'a str, value: isize) -> &'a mut Self
[src]
Insert pointer size integer value.
符号付きポインター・サイズ整数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn literal<'a>(&'a mut self, key: &'a str, value: &str) -> &'a mut Self
[src]
Insert literal string value. Do not put in quotes.
リテラル文字列を挿入します。引用符で挟みません。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn str<'a>(&'a mut self, key: &'a str, value: &str) -> &'a mut Self
[src]
pub fn sub_t<'a>(
&'a mut self,
base_name: &str,
sub_table: &Table
) -> &'a mut Self
[src]
&'a mut self,
base_name: &str,
sub_table: &Table
) -> &'a mut Self
Insert table recursively.
テーブルを再帰的に挿入します。
Arguments
base_name
- Sub table name.
サブ・テーブル名。table
- Sub table.
サブ・テーブル。
Returns
Main table.
メインの方のテーブル。
pub fn sub_aot<'a>(
&'a mut self,
base_name: &str,
aot: &ArrayOfTable
) -> &'a mut Self
[src]
&'a mut self,
base_name: &str,
aot: &ArrayOfTable
) -> &'a mut Self
Insert array of table recursively.
テーブルの配列を再帰的に挿入します。
Arguments
base_name
- Array of table name.
テーブルの配列名。table
- Array of table.
テーブルの配列。
Returns
Main table.
メインの方のテーブル。
pub fn uint<'a>(&'a mut self, key: &'a str, value: u128) -> &'a mut Self
[src]
Insert unsigned integer value.
符号無し整数を挿入します。
Arguments
key
- A key.
キー。value
- A value.
値。
Returns
Table.
テーブル。
pub fn usize<'a>(&'a mut self, key: &'a str, value: usize) -> &'a mut Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,