pub struct NamedDestinations { /* private fields */ }Expand description
Named destinations
Implementations§
Source§impl NamedDestinations
impl NamedDestinations
Sourcepub fn add_destination(&mut self, name: String, destination: Array)
pub fn add_destination(&mut self, name: String, destination: Array)
Add named destination
Sourcepub fn get_destination(&self, name: &str) -> Option<Array>
pub fn get_destination(&self, name: &str) -> Option<Array>
Get destination by name
Sourcepub fn to_dict(&self) -> Dictionary
pub fn to_dict(&self) -> Dictionary
Convert to dictionary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NamedDestinations
impl RefUnwindSafe for NamedDestinations
impl Send for NamedDestinations
impl Sync for NamedDestinations
impl Unpin for NamedDestinations
impl UnwindSafe for NamedDestinations
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