You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< meta name = "generator" content = "rustdoc" >
< title > Docs for integ-test-example crate< / title >
< / head >
< body class = "rustdoc" >
<!-- [if lte IE 8]>
< div class = "warning" >
This old browser is unsupported and will most likely display funky
things.
< / div >
<![endif]-->
< h1 class = "title" > Docs for integ-test-example crate< / h1 >
< nav id = "TOC" > < ul >
< li > < a href = "#function-signature" > 0.1 Function signature< / a > < ul > < / ul > < / li >
< li > < a href = "#example" > 0.2 Example< / a > < ul > < / ul > < / li > < / ul > < / nav > < p > This is a project to test < code > rustdoc< / code > .< / p >
< p > < a href = "https://www.rust-lang.org" > Here is a link!< / a > < / p >
< h2 id = "function-signature" class = "section-header" > < a href = "#function-signature" > 0.1 Function signature< / a > < / h2 >
< p > pub fn get_process_id() -> u32 {}< / p >
< p > This function returns the process id of the current running executable< / p >
< h2 id = "example" class = "section-header" > < a href = "#example" > 0.2 Example< / a > < / h2 >
< div class = "example-wrap" > < pre class = "rust rust-example-rendered" >
< span class = "kw" > use< / span > < span class = "ident" > integ_test_example< / span > ;
< span class = "kw" > fn< / span > < span class = "ident" > get_id< / span > () {
< span class = "kw" > let< / span > < span class = "ident" > my_pid< / span > < span class = "op" > =< / span > < span class = "ident" > get_process_id< / span > ();
< span class = "macro" > println< / span > < span class = "macro" > !< / span > (< span class = "string" > " Process id for current process is: {}" < / span > , < span class = "ident" > my_pid< / span > );
}
< / pre > < / div >
< / body >
< / html >