Ported from createTextWriter
of the typescript compiler.
https://github.com/Microsoft/TypeScript/blob/45eaf42006/src/compiler/utilities.ts#L2548
self
to use its Binary
implementation when Debug
-formatted.self
to use its Display
implementation when
Debug
-formatted.self
to use its LowerExp
implementation when
Debug
-formatted.self
to use its LowerHex
implementation when
Debug
-formatted.self
to use its Octal
implementation when Debug
-formatted.self
to use its Pointer
implementation when
Debug
-formatted.self
to use its UpperExp
implementation when
Debug
-formatted.self
to use its UpperHex
implementation when
Debug
-formatted.self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreself
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreself
and passes that borrow into the pipe function. Read moreself
and passes that borrow into the pipe function. Read moreself
, then passes self.as_ref()
into the pipe function.self
, then passes self.as_mut()
into the pipe
function.self
, then passes self.deref()
into the pipe function.Borrow<B>
of a value. Read moreBorrowMut<B>
of a value. Read moreAsRef<R>
view of a value. Read moreAsMut<R>
view of a value. Read moreDeref::Target
of a value. Read moreDeref::Target
of a value. Read more.tap()
only in debug builds, and is erased in release builds..tap_mut()
only in debug builds, and is erased in release
builds..tap_borrow()
only in debug builds, and is erased in release
builds..tap_borrow_mut()
only in debug builds, and is erased in release
builds..tap_ref()
only in debug builds, and is erased in release
builds..tap_ref_mut()
only in debug builds, and is erased in release
builds..tap_deref()
only in debug builds, and is erased in release
builds.