Struct ntex::web::dev::ResourceMap
source · pub struct ResourceMap { /* private fields */ }Implementations§
source§impl ResourceMap
impl ResourceMap
pub fn new(root: ResourceDef) -> Self
pub fn add( &mut self, pattern: &mut ResourceDef, nested: Option<Rc<ResourceMap>> )
Trait Implementations§
source§impl Clone for ResourceMap
impl Clone for ResourceMap
source§fn clone(&self) -> ResourceMap
fn clone(&self) -> ResourceMap
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ResourceMap
impl !Send for ResourceMap
impl !Sync for ResourceMap
impl Unpin for ResourceMap
impl !UnwindSafe for ResourceMap
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