rustc_
target
1.84.0-nightly
(3fee0f12e 2024-11-20)
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
rustc_target
::
json
Trait
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
Endian
Source
§
impl
ToJson
for
Conv
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
SmallDataThresholdSupport
Source
§
impl
ToJson
for
SplitDebuginfo
Source
§
impl
ToJson
for
StackProbeType
Source
§
impl
ToJson
for
SymbolVisibility
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