pub struct PrintToPdfReturn { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime only.Expand description
Print page as PDF.
Implementations§
Source§impl PrintToPdfReturn
impl PrintToPdfReturn
pub fn new(data: String, stream: Option<StreamHandle>) -> Self
Sourcepub fn stream(&self) -> Option<&StreamHandle>
Available on crate feature experimental only.
pub fn stream(&self) -> Option<&StreamHandle>
experimental only.A handle of the stream that holds resulting PDF data.
Trait Implementations§
Source§impl Clone for PrintToPdfReturn
impl Clone for PrintToPdfReturn
Source§fn clone(&self) -> PrintToPdfReturn
fn clone(&self) -> PrintToPdfReturn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrintToPdfReturn
impl Debug for PrintToPdfReturn
Source§impl<'de> Deserialize<'de> for PrintToPdfReturn
impl<'de> Deserialize<'de> for PrintToPdfReturn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrintToPdfReturn
impl RefUnwindSafe for PrintToPdfReturn
impl Send for PrintToPdfReturn
impl Sync for PrintToPdfReturn
impl Unpin for PrintToPdfReturn
impl UnwindSafe for PrintToPdfReturn
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