Enum walker_common::report::Bootstrap
source · pub enum Bootstrap {
Default,
Custom {
location: String,
js_location: Option<String>,
css_integrity: Option<String>,
js_integrity: Option<String>,
},
}Expand description
Options for the imported bootstrap resources.
Variants§
Default
Use a default version served from a CDN
Custom
Use a custom version
Implementations§
source§impl Bootstrap
impl Bootstrap
pub fn css_location(&self) -> String
pub fn css_integrity(&self) -> Option<String>
pub fn js_location(&self) -> String
pub fn js_integrity(&self) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bootstrap
impl RefUnwindSafe for Bootstrap
impl Send for Bootstrap
impl Sync for Bootstrap
impl Unpin for Bootstrap
impl UnwindSafe for Bootstrap
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