pub struct RuntimeRouterConfig { /* private fields */ }Expand description
A normalized reference to optional router configuration.
Implementations§
Source§impl RuntimeRouterConfig
impl RuntimeRouterConfig
Sourcepub const fn new(path: BundlePath) -> Self
pub const fn new(path: BundlePath) -> Self
Construct router configuration pointing at one bundle asset.
Sourcepub const fn path(&self) -> &BundlePath
pub const fn path(&self) -> &BundlePath
The indexed asset path containing the router configuration.
Trait Implementations§
Source§impl Clone for RuntimeRouterConfig
impl Clone for RuntimeRouterConfig
Source§fn clone(&self) -> RuntimeRouterConfig
fn clone(&self) -> RuntimeRouterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeRouterConfig
impl Debug for RuntimeRouterConfig
Source§impl<'de> Deserialize<'de> for RuntimeRouterConfig
impl<'de> Deserialize<'de> for RuntimeRouterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeRouterConfig
impl RefUnwindSafe for RuntimeRouterConfig
impl Send for RuntimeRouterConfig
impl Sync for RuntimeRouterConfig
impl Unpin for RuntimeRouterConfig
impl UnsafeUnpin for RuntimeRouterConfig
impl UnwindSafe for RuntimeRouterConfig
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