pub trait QPdfObjectLike {
Show 14 methods
// Required method
fn as_object(&self) -> &QPdfObject;
// Provided methods
fn owner(&self) -> QPdf { ... }
fn get_type(&self) -> QPdfObjectType { ... }
fn to_binary(&self) -> String { ... }
fn is_operator(&self) -> bool { ... }
fn is_scalar(&self) -> bool { ... }
fn is_indirect(&self) -> bool { ... }
fn as_bool(&self) -> bool { ... }
fn as_name(&self) -> String { ... }
fn as_string(&self) -> String { ... }
fn as_binary_string(&self) -> Vec<u8> ⓘ { ... }
fn get_id(&self) -> u32 { ... }
fn get_generation(&self) -> u32 { ... }
fn into_indirect(self) -> QPdfObject
where Self: Sized + Into<QPdfObject> { ... }
}Required Methods§
Sourcefn as_object(&self) -> &QPdfObject
fn as_object(&self) -> &QPdfObject
Return inner object
Provided Methods§
fn owner(&self) -> QPdf
Sourcefn get_type(&self) -> QPdfObjectType
fn get_type(&self) -> QPdfObjectType
Get this object type
Sourcefn is_operator(&self) -> bool
fn is_operator(&self) -> bool
Return true if this is an operator object
Sourcefn is_indirect(&self) -> bool
fn is_indirect(&self) -> bool
Return true if this is an indirect object
Sourcefn as_binary_string(&self) -> Vec<u8> ⓘ
fn as_binary_string(&self) -> Vec<u8> ⓘ
Get binary string value
Sourcefn get_generation(&self) -> u32
fn get_generation(&self) -> u32
Get generation of the indirect object
fn into_indirect(self) -> QPdfObject
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".