Struct lopdf::Dictionary [−][src]
pub struct Dictionary(_);
Dictionary object.
Methods
impl Dictionary
[src]
impl Dictionary
pub fn new() -> Dictionary
[src]
pub fn new() -> Dictionary
pub fn has<K>(&self, key: K) -> bool where
K: Into<String>,
[src]
pub fn has<K>(&self, key: K) -> bool where
K: Into<String>,
pub fn get<K>(&self, key: K) -> Option<&Object> where
K: Into<String>,
[src]
pub fn get<K>(&self, key: K) -> Option<&Object> where
K: Into<String>,
pub fn get_mut<K>(&mut self, key: K) -> Option<&mut Object> where
K: Into<String>,
[src]
pub fn get_mut<K>(&mut self, key: K) -> Option<&mut Object> where
K: Into<String>,
pub fn set<K, V>(&mut self, key: K, value: V) where
K: Into<String>,
V: Into<Object>,
[src]
pub fn set<K, V>(&mut self, key: K, value: V) where
K: Into<String>,
V: Into<Object>,
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn remove(&mut self, key: &str) -> Option<Object>
[src]
pub fn remove(&mut self, key: &str) -> Option<Object>
pub fn type_name(&self) -> Option<&str>
[src]
pub fn type_name(&self) -> Option<&str>
pub fn type_is(&self, type_name: &[u8]) -> bool
[src]
pub fn type_is(&self, type_name: &[u8]) -> bool
pub fn iter(&self) -> Iter<String, Object>
[src]
pub fn iter(&self) -> Iter<String, Object>
pub fn iter_mut(&mut self) -> IterMut<String, Object>
[src]
pub fn iter_mut(&mut self) -> IterMut<String, Object>
Trait Implementations
impl Clone for Dictionary
[src]
impl Clone for Dictionary
fn clone(&self) -> Dictionary
[src]
fn clone(&self) -> Dictionary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<Dictionary> for Object
[src]
impl From<Dictionary> for Object
fn from(dcit: Dictionary) -> Self
[src]
fn from(dcit: Dictionary) -> Self
Performs the conversion.
impl Debug for Dictionary
[src]
impl Debug for Dictionary
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> IntoIterator for &'a Dictionary
[src]
impl<'a> IntoIterator for &'a Dictionary
type Item = (&'a String, &'a Object)
The type of the elements being iterated over.
type IntoIter = Iter<'a, String, Object>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
impl<K: Into<String>> FromIterator<(K, Object)> for Dictionary
[src]
impl<K: Into<String>> FromIterator<(K, Object)> for Dictionary
Auto Trait Implementations
impl Send for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Sync for Dictionary