Struct saphir::RequestAddonCollection [−][src]
pub struct RequestAddonCollection { /* fields omitted */ }
A convenience class to contains RequestParams
Methods
impl RequestAddonCollection
[src]
impl RequestAddonCollection
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn get(&self, name: &str) -> Option<&RequestAddon>
[src]
pub fn get(&self, name: &str) -> Option<&RequestAddon>
Retrieve a Ref of a param by its name
pub fn get_mut(&mut self, name: &str) -> Option<&mut RequestAddon>
[src]
pub fn get_mut(&mut self, name: &str) -> Option<&mut RequestAddon>
Retrieve a RefMut of a param by its name
pub fn add(&mut self, p: RequestAddon)
[src]
pub fn add(&mut self, p: RequestAddon)
Add a RequestAddon
to the collection
pub fn remove(&mut self, name: &str)
[src]
pub fn remove(&mut self, name: &str)
Remove a RequestAddon
from the collection
Trait Implementations
impl Debug for RequestAddonCollection
[src]
impl Debug for RequestAddonCollection
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 Index<usize> for RequestAddonCollection
[src]
impl Index<usize> for RequestAddonCollection
type Output = RequestAddon
The returned type after indexing.
fn index(&self, index: usize) -> &RequestAddon
[src]
fn index(&self, index: usize) -> &RequestAddon
Performs the indexing (container[index]
) operation.
impl IndexMut<usize> for RequestAddonCollection
[src]
impl IndexMut<usize> for RequestAddonCollection
fn index_mut(&mut self, index: usize) -> &mut RequestAddon
[src]
fn index_mut(&mut self, index: usize) -> &mut RequestAddon
Performs the mutable indexing (container[index]
) operation.
impl<'a> IntoIterator for &'a mut RequestAddonCollection
[src]
impl<'a> IntoIterator for &'a mut RequestAddonCollection
type Item = &'a mut RequestAddon
The type of the elements being iterated over.
type IntoIter = IterMut<'a, RequestAddon>
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 IntoIterator for RequestAddonCollection
[src]
impl IntoIterator for RequestAddonCollection
type Item = RequestAddon
The type of the elements being iterated over.
type IntoIter = IntoIter<RequestAddon>
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<'a> IntoIterator for &'a RequestAddonCollection
[src]
impl<'a> IntoIterator for &'a RequestAddonCollection
type Item = &'a RequestAddon
The type of the elements being iterated over.
type IntoIter = Iter<'a, RequestAddon>
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
Auto Trait Implementations
impl Send for RequestAddonCollection
impl Send for RequestAddonCollection
impl !Sync for RequestAddonCollection
impl !Sync for RequestAddonCollection