Skip to content

Commit

Permalink
Made loaders public
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldom-SE committed Mar 31, 2024
1 parent 00e31aa commit 21b5ad3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ where
}
}

struct CsvAssetLoader<A> {
pub struct CsvAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
delimiter: u8,
Expand Down
2 changes: 1 addition & 1 deletion src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ where
}
}

struct JsonAssetLoader<A> {
pub struct JsonAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/msgpack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ where
}
}

struct MsgPackAssetLoader<A> {
pub struct MsgPackAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/postcard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ where
}
}

struct PostcardAssetLoader<A> {
pub struct PostcardAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/ron.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ where
}
}

struct RonAssetLoader<A> {
pub struct RonAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ where
}
}

struct TomlAssetLoader<A> {
pub struct TomlAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/xml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ where
}
}

struct XmlAssetLoader<A> {
pub struct XmlAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ where
}
}

struct YamlAssetLoader<A> {
pub struct YamlAssetLoader<A> {
extensions: Vec<&'static str>,
_marker: PhantomData<A>,
}
Expand Down

0 comments on commit 21b5ad3

Please sign in to comment.