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 Freeze for BIFiles
impl RefUnwindSafe for BIFiles
impl Send for BIFiles
impl Sync for BIFiles
impl Unpin for BIFiles
impl UnsafeUnpin for BIFiles
impl UnwindSafe for BIFiles
Blanket Implementations§
impl<Token, Builder, How> AllPropsFor<Builder, How> for Tokenwhere
Builder: Buildable<Token>,
<Builder as Buildable<Token>>::WrappedToken: HasAllProps<<Builder as Buildable<Token>>::Output, How>,
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> HasAllProps<(), T> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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.