Enum pdf::encoding::BaseEncoding
source · pub enum BaseEncoding {
StandardEncoding,
SymbolEncoding,
MacRomanEncoding,
WinAnsiEncoding,
MacExpertEncoding,
IdentityH,
None,
Other(String),
}
Variants§
StandardEncoding
SymbolEncoding
MacRomanEncoding
WinAnsiEncoding
MacExpertEncoding
IdentityH
None
Other(String)
Trait Implementations§
source§impl Clone for BaseEncoding
impl Clone for BaseEncoding
source§fn clone(&self) -> BaseEncoding
fn clone(&self) -> BaseEncoding
Returns a copy 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 DataSize for BaseEncodingwhere
String: DataSize,
impl DataSize for BaseEncodingwhere String: DataSize,
source§const IS_DYNAMIC: bool = true
const IS_DYNAMIC: bool = true
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for BaseEncoding
impl Debug for BaseEncoding
source§impl Object for BaseEncoding
impl Object for BaseEncoding
source§impl ObjectWrite for BaseEncoding
impl ObjectWrite for BaseEncoding
source§impl PartialEq for BaseEncoding
impl PartialEq for BaseEncoding
source§fn eq(&self, other: &BaseEncoding) -> bool
fn eq(&self, other: &BaseEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BaseEncoding
impl StructuralEq for BaseEncoding
impl StructuralPartialEq for BaseEncoding
Auto Trait Implementations§
impl RefUnwindSafe for BaseEncoding
impl Send for BaseEncoding
impl Sync for BaseEncoding
impl Unpin for BaseEncoding
impl UnwindSafe for BaseEncoding
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.