Struct qt_gui::q_paged_paint_device::Margins
source · #[repr(C)]pub struct Margins { /* private fields */ }
Expand description
C++ class: QPagedPaintDevice::Margins
.
Implementations§
source§impl Margins
impl Margins
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<Margins>>
) -> Ref<Margins>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<Margins>> ) -> Ref<Margins>
Calls C++ function: QPagedPaintDevice::Margins& QPagedPaintDevice::Margins::operator=(const QPagedPaintDevice::Margins& other)
.
sourcepub unsafe fn new() -> CppBox<Margins>
pub unsafe fn new() -> CppBox<Margins>
Calls C++ function: [constructor] void QPagedPaintDevice::Margins::Margins()
.
sourcepub unsafe fn new_copy(other: impl CastInto<Ref<Margins>>) -> CppBox<Margins>
pub unsafe fn new_copy(other: impl CastInto<Ref<Margins>>) -> CppBox<Margins>
Calls C++ function: [constructor] void QPagedPaintDevice::Margins::Margins(const QPagedPaintDevice::Margins& other)
.
sourcepub unsafe fn set_bottom(&self, value: c_double)
pub unsafe fn set_bottom(&self, value: c_double)
Sets the value of the bottom
field.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Margins
impl Send for Margins
impl Sync for Margins
impl Unpin for Margins
impl UnwindSafe for Margins
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