Enum below_render::RenderFormat [−][src]
pub enum RenderFormat {
Precision(usize),
ReadableSize,
PageReadableSize,
MaxOrReadableSize,
}
Expand description
Specifies how to format a Field into String
Variants
Precision(usize)
Truncates String to a certain width.
Tuple Fields of Precision
0: usize
Only works on numeric Fields. Format as human-readable size with suffixes (KB, MB, GB etc).
Only works on numeric Fields. Format number of 4K pages as human-readable size with suffixes (KB, MB, GB etc).
Only works on int Fields. Same as ReadableSize except when Field is -1, in which case “max” is returned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RenderFormat
impl Send for RenderFormat
impl Sync for RenderFormat
impl Unpin for RenderFormat
impl UnwindSafe for RenderFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.