pub struct TreeIndent {
pub start: f32,
pub per_level: f32,
}Expand description
How far a Tree indents its rows’ content, as its platform draws it
(TreeIndent): a row’s content is the rows’ width less start + per_level × depth.
Fields§
§start: f32Where a top row’s content starts: the disclosure’s room.
per_level: f32What each level adds.
Implementations§
Trait Implementations§
Source§impl Clone for TreeIndent
impl Clone for TreeIndent
impl Copy for TreeIndent
Source§impl Debug for TreeIndent
impl Debug for TreeIndent
Source§impl Default for TreeIndent
impl Default for TreeIndent
Source§impl PartialEq for TreeIndent
impl PartialEq for TreeIndent
impl StructuralPartialEq for TreeIndent
Auto Trait Implementations§
impl Forget for TreeIndent
impl Freeze for TreeIndent
impl RefUnwindSafe for TreeIndent
impl Send for TreeIndent
impl Sync for TreeIndent
impl Unpin for TreeIndent
impl UnsafeUnpin for TreeIndent
impl UnwindSafe for TreeIndent
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