pub struct Bun;Expand description
Bun.
PHP: Utopia\Detector\Detection\Runtime\Bun.
Trait Implementations§
impl Copy for Bun
impl Eq for Bun
Source§impl Runtime for Bun
impl Runtime for Bun
Source§fn file_extensions(&self) -> &[&str]
fn file_extensions(&self) -> &[&str]
The extensions of its source files, such as
ts. Read moreSource§fn files(&self) -> &[&str]
fn files(&self) -> &[&str]
The file names that reveal it, such as
package-lock.json. Read moreSource§fn commands(&self, packager: &str) -> &str
fn commands(&self, packager: &str) -> &str
The command that installs dependencies and builds, for
packager
(npm, pnpm, yarn; anything else, or empty, as pnpm where it
matters). Read moreSource§fn entrypoint(&self) -> &str
fn entrypoint(&self) -> &str
The default entrypoint file, such as
index.js. Read moreimpl StructuralPartialEq for Bun
Auto Trait Implementations§
impl Forget for Bun
impl Freeze for Bun
impl Move for Bun
impl RefUnwindSafe for Bun
impl Send for Bun
impl Sync for Bun
impl Unpin for Bun
impl UnsafeUnpin for Bun
impl UnwindSafe for Bun
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.