Struct itext::itext::kernel::PageSize

source ·
pub struct PageSize<'a>(_);

Implementations§

source§

impl<'a> PageSize<'a>

source

pub fn new_a0(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a1(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a2(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a3(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a4(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a5(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a6(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a7(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a8(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a9(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_a10(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b0(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b1(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b2(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b3(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b4(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b5(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b6(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b7(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b8(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b9(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_b10(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_executive(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_ledger(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_letter(env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn new_tabloid(env: &mut JNIEnv<'a>) -> Result<Self>

source§

impl<'a> PageSize<'a>

source

pub fn new(width: f32, height: f32, env: &mut JNIEnv<'a>) -> Result<Self>

source

pub fn get_width(&self, env: &mut JNIEnv<'a>) -> Result<f32>

source

pub fn get_height(&self, env: &mut JNIEnv<'a>) -> Result<f32>

Trait Implementations§

source§

impl<'a> AsRef<JObject<'a>> for PageSize<'a>

source§

fn as_ref(&self) -> &JObject<'a>

Converts this type into a shared reference of the (usually inferred) input type.

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for PageSize<'a>

§

impl<'a> Send for PageSize<'a>where 'a: 'static,

§

impl<'a> Sync for PageSize<'a>where 'a: 'static,

§

impl<'a> Unpin for PageSize<'a>

§

impl<'a> UnwindSafe for PageSize<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.