[][src]Struct qt_gui::q_paged_paint_device::Margins

#[repr(C)]pub struct Margins { /* fields omitted */ }

C++ class: QPagedPaintDevice::Margins.

Methods

impl Margins[src]

pub unsafe fn bottom(&self) -> c_double[src]

Returns the value of the bottom field.

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<Margins>>
) -> Ref<Margins>
[src]

Calls C++ function: QPagedPaintDevice::Margins& QPagedPaintDevice::Margins::operator=(const QPagedPaintDevice::Margins& other).

pub unsafe fn left(&self) -> c_double[src]

Returns the value of the left field.

pub unsafe fn new() -> CppBox<Margins>[src]

Calls C++ function: [constructor] void QPagedPaintDevice::Margins::Margins().

pub unsafe fn new_copy(other: impl CastInto<Ref<Margins>>) -> CppBox<Margins>[src]

Calls C++ function: [constructor] void QPagedPaintDevice::Margins::Margins(const QPagedPaintDevice::Margins& other).

pub unsafe fn right(&self) -> c_double[src]

Returns the value of the right field.

pub unsafe fn set_bottom(&self, value: c_double)[src]

Sets the value of the bottom field.

pub unsafe fn set_left(&self, value: c_double)[src]

Sets the value of the left field.

pub unsafe fn set_right(&self, value: c_double)[src]

Sets the value of the right field.

pub unsafe fn set_top(&self, value: c_double)[src]

Sets the value of the top field.

pub unsafe fn top(&self) -> c_double[src]

Returns the value of the top field.

Trait Implementations

impl CppDeletable for Margins[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void QPagedPaintDevice::Margins::~Margins().

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.