Struct yew_bootstrap::icons::BIFiles
source · pub struct BIFiles {
pub css: &'static str,
pub font_woff: &'static [u8],
pub font_woff2: &'static [u8],
pub license: &'static str,
}Expand description
Holds all bootstrap-icons data.
Intended use:
let BIFiles {css, font_woff, font_woff2, license} = BIFiles::FILES;(That way it will be an error if a file is added/removed.)
Fields§
§css: &'static strContents of the file bootstrap-icons.css.
font_woff: &'static [u8]Contents of the file fonts/bootstrap-icons.woff.
font_woff2: &'static [u8]Contents of the file fonts/bootstrap-icons.woff2.
license: &'static strContents of the file fonts/LICENSE.
Implementations§
source§impl BIFiles
impl BIFiles
sourcepub const FILES: Self = _
pub const FILES: Self = _
All bootstrap-icons files.
Intended use:
let BIFiles {css, font_woff, font_woff2, license} = BIFiles::FILES;(That way it will be an error if a file is added/removed.)
Auto Trait Implementations§
impl RefUnwindSafe for BIFiles
impl Send for BIFiles
impl Sync for BIFiles
impl Unpin for BIFiles
impl UnwindSafe for BIFiles
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.