Dependencies
pub trait ToPosix { to_posix(Self) -> Posix}
impl ToPosix for String
fn to_posix(self : String) -> Posix
impl ToPosix for Bytes
fn to_posix(self : Bytes) -> Posix
impl ToPosix for Array[T]
fn[T : ToPosix] to_posix(self : Array[T]) -> Posix
impl ToPosix for ArrayView[T]
fn[T : ToPosix] to_posix(self : ArrayView[T]) -> Posix
impl ToPosix for BytesView
fn to_posix(self : BytesView) -> Posix
impl ToPosix for StringView
fn to_posix(self : StringView) -> Posix
pub trait ToWindows { to_windows(Self) -> Windows}
impl ToWindows for String
fn to_windows(self : String) -> Windows
impl ToWindows for Bytes
fn to_windows(self : Bytes) -> Windows
impl ToWindows for Array[T]
fn[T : ToWindows] to_windows(self : Array[T]) -> Windows
impl ToWindows for ArrayView[T]
fn[T : ToWindows] to_windows(self : ArrayView[T]) -> Windows
impl ToWindows for BytesView
fn to_windows(self : BytesView) -> Windows
impl ToWindows for StringView
fn to_windows(self : StringView) -> Windows
type Posix
impl Compare for Posix
fn compare(self : Posix, other : Posix) -> Int
impl Eq for Posix
fn equal(Posix, Posix) -> Bool
impl Hash for Posix
fn hash_combine(Posix, Hasher) -> Unit
impl Show for Posix
fn output(self : Posix, logger : &Logger) -> Unit
impl ToJson for Posix
fn to_json(self : Posix) -> Json
impl FromJson for Posix
fn from_json(json : Json, path : @moonbitlang/core/json.JsonPathJsonPath) -> Posix raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
impl ToPosix for Posix
fn to_posix(self : Posix) -> Posix
impl ToWindows for Posix
fn to_windows(self : Posix) -> Windows
fn Posix::anchor(self : Posix) -> BytesView
fn[ToPosix : ToPosix] Posix::join(self : Posix, other : ToPosix) -> Posix
fn Posix::name(self : Posix) -> BytesView?
fn Posix::parent(self : Posix) -> Posix?
fn Posix::parts(self : Posix) -> Iter[BytesView]
fn[ToPosix : ToPosix] Posix::relative_to(self : Posix, other : ToPosix) -> Posix
fn Posix::root(self : Posix) -> BytesView
fn Posix::suffix(self : Posix) -> BytesView?
fn Posix::to_bytes(self : Posix) -> Bytes
type Windows
impl Compare for Windows
fn compare(self : Windows, other : Windows) -> Int
impl Eq for Windows
fn equal(Windows, Windows) -> Bool
impl Hash for Windows
fn hash_combine(Windows, Hasher) -> Unit
impl Show for Windows
fn output(self : Windows, logger : &Logger) -> Unit
impl ToJson for Windows
fn to_json(self : Windows) -> Json
impl FromJson for Windows
fn from_json(json : Json, path : @moonbitlang/core/json.JsonPathJsonPath) -> Windows raise @moonbitlang/core/json.JsonDecodeErrorJsonDecodeError
impl ToPosix for Windows
fn to_posix(self : Windows) -> Posix
impl ToWindows for Windows
fn to_windows(self : Windows) -> Windows
fn Windows::anchor(self : Windows) -> BytesView
fn Windows::drive(self : Windows) -> BytesView
fn Windows::join(self : Windows, other : Windows) -> Windows
fn Windows::name(self : Windows) -> BytesView?
fn Windows::parent(self : Windows) -> Windows?
fn Windows::parts(self : Windows) -> Iter[BytesView]
fn[ToWindows : ToWindows] Windows::relative_to(self : Windows, other : ToWindows) -> Windows
fn Windows::root(self : Windows) -> BytesView
fn Windows::suffix(self : Windows) -> BytesView?
fn Windows::to_bytes(self : Windows) -> Bytes
fn[ToPosix : ToPosix] posix(path : ToPosix) -> Posix
fn[ToWindows : ToWindows] windows(path : ToWindows) -> Windows
Install
Powered by MoonBit
© 2026 mooncakes.io