pub struct MaxLineLength(/* private fields */);Expand description
The maximum line length.
Implementations§
Trait Implementations§
Source§impl Clone for MaxLineLength
impl Clone for MaxLineLength
Source§fn clone(&self) -> MaxLineLength
fn clone(&self) -> MaxLineLength
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 moreimpl Copy for MaxLineLength
Source§impl Debug for MaxLineLength
impl Debug for MaxLineLength
Source§impl Default for MaxLineLength
impl Default for MaxLineLength
impl Eq for MaxLineLength
Source§impl<'de> FromToml<'de> for MaxLineLength
impl<'de> FromToml<'de> for MaxLineLength
Source§impl JsonSchema for MaxLineLength
impl JsonSchema for MaxLineLength
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MaxLineLength
impl PartialEq for MaxLineLength
impl StructuralPartialEq for MaxLineLength
Source§impl ToToml for MaxLineLength
impl ToToml for MaxLineLength
Source§fn to_optional_toml<'a>(
&'a self,
arena: &'a Arena,
) -> Result<Option<Item<'a>>, ToTomlError>
fn to_optional_toml<'a>( &'a self, arena: &'a Arena, ) -> Result<Option<Item<'a>>, ToTomlError>
Auto Trait Implementations§
impl Freeze for MaxLineLength
impl RefUnwindSafe for MaxLineLength
impl Send for MaxLineLength
impl Sync for MaxLineLength
impl Unpin for MaxLineLength
impl UnsafeUnpin for MaxLineLength
impl UnwindSafe for MaxLineLength
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.