rustc_
target
1.82.0
(f6e511eec 2024-10-15)
ToJson
Required Methods
to_json
Implementations on Foreign Types
BTreeMap<T, A>
Cow<'a, [A]>
Cow<'a, str>
Option<A>
String
Vec<A>
[A]
bool
i16
i32
i64
i8
isize
str
u16
u32
u64
u8
usize
Implementors
In rustc_
target::
json
Trait
rustc_target
::
json
::
ToJson
Copy item path
source
·
[
−
]
pub trait ToJson { // Required method fn
to_json
(&self) ->
Json
; }
Required Methods
§
source
fn
to_json
(&self) ->
Json
Implementations on Foreign Types
§
source
§
impl
ToJson
for
bool
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
i8
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
i16
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
i32
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
i64
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
isize
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
str
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
u8
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
u16
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
u32
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
u64
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
usize
source
§
fn
to_json
(&self) ->
Json
source
§
impl
ToJson
for
String
source
§
fn
to_json
(&self) ->
Json
source
§
impl<'a>
ToJson
for
Cow
<'a,
str
>
source
§
fn
to_json
(&self) ->
Json
source
§
impl<'a, A:
ToJson
>
ToJson
for
Cow
<'a,
[A]
>
where
[A]
:
ToOwned
,
source
§
fn
to_json
(&self) ->
Json
source
§
impl<A:
ToJson
>
ToJson
for
Option
<A>
source
§
fn
to_json
(&self) ->
Json
source
§
impl<A:
ToJson
>
ToJson
for
[A]
source
§
fn
to_json
(&self) ->
Json
source
§
impl<A:
ToJson
>
ToJson
for
Vec
<A>
source
§
fn
to_json
(&self) ->
Json
source
§
impl<T:
ToString
, A:
ToJson
>
ToJson
for
BTreeMap
<T, A>
source
§
fn
to_json
(&self) ->
Json
Implementors
§
source
§
impl
ToJson
for
Conv
source
§
impl
ToJson
for
Endian
source
§
impl
ToJson
for
CodeModel
source
§
impl
ToJson
for
DebuginfoKind
source
§
impl
ToJson
for
FramePointer
source
§
impl
ToJson
for
LinkSelfContainedDefault
source
§
impl
ToJson
for
LinkerFlavorCli
source
§
impl
ToJson
for
LldFlavor
source
§
impl
ToJson
for
MergeFunctions
source
§
impl
ToJson
for
PanicStrategy
source
§
impl
ToJson
for
RelocModel
source
§
impl
ToJson
for
RelroLevel
source
§
impl
ToJson
for
SplitDebuginfo
source
§
impl
ToJson
for
StackProbeType
source
§
impl
ToJson
for
TlsModel
source
§
impl
ToJson
for
Json
source
§
impl
ToJson
for
LinkSelfContainedComponents
source
§
impl
ToJson
for
SanitizerSet
source
§
impl
ToJson
for
Target
source
§
impl
ToJson
for
TargetMetadata