[−][src]Struct qt_gui::q_paged_paint_device::Margins
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(
&mut self,
other: impl CastInto<Ref<Margins>>
) -> MutRef<Margins>
[src]
&mut self,
other: impl CastInto<Ref<Margins>>
) -> MutRef<Margins>
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(&mut self, value: c_double)
[src]
Sets the value of the bottom
field.
pub unsafe fn set_left(&mut self, value: c_double)
[src]
Sets the value of the left
field.
pub unsafe fn set_right(&mut self, value: c_double)
[src]
Sets the value of the right
field.
pub unsafe fn set_top(&mut 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]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,