pub enum DyLibNameFilter<'a> {
FileName(&'a str),
Extension(&'a str),
LibName(&'a str),
}
Expand description
Dynamic library filter used to specify which library files needs to be copied.
Variants§
FileName(&'a str)
Filename must match the string (Example: "SDL2.dll"
)
Extension(&'a str)
Extension must match the string (Example: "dll"
)
LibName(&'a str)
Library name must match the string (Example: "SDL2"
).
Extension will be inferred from the target platform.
Files with an additional “lib” prefix will match as well.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DyLibNameFilter<'a>
impl<'a> RefUnwindSafe for DyLibNameFilter<'a>
impl<'a> Send for DyLibNameFilter<'a>
impl<'a> Sync for DyLibNameFilter<'a>
impl<'a> Unpin for DyLibNameFilter<'a>
impl<'a> UnwindSafe for DyLibNameFilter<'a>
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