pub struct StringFormatFlags {
pub alignment: StringAlignment,
pub min_width: bool,
pub precision: bool,
pub fill_character: bool,
}Expand description
Format flags used by the StringPush op
Fields§
§alignment: StringAlignmentThe alignment of the string
min_width: boolTrue if a min width value is specified
precision: boolTrue if a precision value is specified
fill_character: boolTrue if a fill character is specified
Implementations§
Source§impl StringFormatFlags
impl StringFormatFlags
Sourcepub const FILL_CHARACTER: u8 = 16u8
pub const FILL_CHARACTER: u8 = 16u8
Set to true when fill_character is defined
Trait Implementations§
Source§impl From<StringFormatOptions> for StringFormatFlags
impl From<StringFormatOptions> for StringFormatFlags
Source§fn from(options: StringFormatOptions) -> Self
fn from(options: StringFormatOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StringFormatFlags
impl RefUnwindSafe for StringFormatFlags
impl Send for StringFormatFlags
impl Sync for StringFormatFlags
impl Unpin for StringFormatFlags
impl UnwindSafe for StringFormatFlags
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