Struct poppler::builders::DocumentBuilder
source · pub struct DocumentBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Document
objects.
Implementations§
source§impl DocumentBuilder
impl DocumentBuilder
The author of the document
sourcepub fn creation_date(self, creation_date: i32) -> Self
👎Deprecated: Since 20.9
pub fn creation_date(self, creation_date: i32) -> Self
The date the document was created as seconds since the Epoch, or -1 This will overflow in 2038. Use creation-datetime instead.
sourcepub fn creation_datetime(self, creation_datetime: &DateTime) -> Self
Available on crate feature v20_9
only.
pub fn creation_datetime(self, creation_datetime: &DateTime) -> Self
v20_9
only.The [glib::DateTime
][crate::glib::DateTime] the document was created.
sourcepub fn creator(self, creator: impl Into<GString>) -> Self
pub fn creator(self, creator: impl Into<GString>) -> Self
The creator of the document. See also Document::creator()
sourcepub fn keywords(self, keywords: impl Into<GString>) -> Self
pub fn keywords(self, keywords: impl Into<GString>) -> Self
The keywords associated to the document
sourcepub fn mod_date(self, mod_date: i32) -> Self
👎Deprecated: Since 20.9
pub fn mod_date(self, mod_date: i32) -> Self
The date the document was most recently modified as seconds since the Epoch, or -1 This will overflow in 2038. Use mod-datetime instead.
sourcepub fn mod_datetime(self, mod_datetime: &DateTime) -> Self
Available on crate feature v20_9
only.
pub fn mod_datetime(self, mod_datetime: &DateTime) -> Self
v20_9
only.The [glib::DateTime
][crate::glib::DateTime] the document was most recently modified.
sourcepub fn producer(self, producer: impl Into<GString>) -> Self
pub fn producer(self, producer: impl Into<GString>) -> Self
The producer of the document. See also Document::producer()
Auto Trait Implementations§
impl Freeze for DocumentBuilder
impl RefUnwindSafe for DocumentBuilder
impl !Send for DocumentBuilder
impl !Sync for DocumentBuilder
impl Unpin for DocumentBuilder
impl UnwindSafe for DocumentBuilder
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