pub struct PageRange { /* private fields */ }
Expand description
A range of pages to print.
See also PrintSettings::set_page_ranges()
.
GLib type: Inline allocated boxed type with stack copy semantics.
Implementations§
Source§impl PageRange
impl PageRange
pub fn as_ptr(&self) -> *mut GtkPageRange
Sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GtkPageRange) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GtkPageRange) -> &'a Self
Borrows the underlying C value.
Sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut GtkPageRange,
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut GtkPageRange, ) -> &'a mut Self
Borrows the underlying C value mutably.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageRange
impl RefUnwindSafe for PageRange
impl Send for PageRange
impl Sync for PageRange
impl Unpin for PageRange
impl UnwindSafe for PageRange
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