pub struct Margins<'a> { /* private fields */ }
Expand description
Notice these docs are heavy WIP and not very relevent yet
QMargin defines a set of four margins; left, top, right and bottom, that describe the size of the borders surrounding a rectangle.
The isNull() function returns true
only if all margins are set to zero.
QMargin objects can be streamed as well as compared.
Licence
The documentation is an adoption of the original Qt Documentation and provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Margins<'a>
impl<'a> !Send for Margins<'a>
impl<'a> !Sync for Margins<'a>
impl<'a> Unpin for Margins<'a>
impl<'a> !UnwindSafe for Margins<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more