pub struct LintsTable {
pub levels: BTreeMap<String, LintLevel>,
}Expand description
Raw [lints] table as deserialized from Factorio.toml.
Fields§
§levels: BTreeMap<String, LintLevel>Implementations§
Source§impl LintsTable
impl LintsTable
Sourcepub fn into_config(self) -> Result<LintConfig, String>
pub fn into_config(self) -> Result<LintConfig, String>
Trait Implementations§
Source§impl Clone for LintsTable
impl Clone for LintsTable
Source§fn clone(&self) -> LintsTable
fn clone(&self) -> LintsTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LintsTable
impl Debug for LintsTable
Source§impl Default for LintsTable
impl Default for LintsTable
Source§fn default() -> LintsTable
fn default() -> LintsTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LintsTable
impl<'de> Deserialize<'de> for LintsTable
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
impl Eq for LintsTable
Source§impl PartialEq for LintsTable
impl PartialEq for LintsTable
impl StructuralPartialEq for LintsTable
Auto Trait Implementations§
impl Freeze for LintsTable
impl RefUnwindSafe for LintsTable
impl Send for LintsTable
impl Sync for LintsTable
impl Unpin for LintsTable
impl UnsafeUnpin for LintsTable
impl UnwindSafe for LintsTable
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