Struct tauri_utils::assets::AssetKey
source · pub struct AssetKey(_);Expand description
Represent an asset file path in a normalized way.
The following rules are enforced and added if needed:
- Unix path component separators
- Has a root directory
- No trailing slash - directories are not included in assets
Trait Implementations§
source§impl Ord for AssetKey
impl Ord for AssetKey
source§impl PartialEq<AssetKey> for AssetKey
impl PartialEq<AssetKey> for AssetKey
source§impl PartialOrd<AssetKey> for AssetKey
impl PartialOrd<AssetKey> for AssetKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more