Struct re_dev_tools::build_examples::example::ExampleCategory
source · pub struct ExampleCategory {
pub order: u64,
pub title: String,
pub prelude: String,
pub examples: Vec<String>,
}
Fields§
§order: u64
Used to sort categories in the rerun.io/examples
navbar.
title: String
snake_case
name.
prelude: String
Multi-line description.
examples: Vec<String>
List of example names.
rerun.io/examples
attempts to search for these names under examples/{language}
,
where language
is any of the languages we currently support.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ExampleCategory
impl<'de> Deserialize<'de> for ExampleCategory
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExampleCategory
impl RefUnwindSafe for ExampleCategory
impl Send for ExampleCategory
impl Sync for ExampleCategory
impl Unpin for ExampleCategory
impl UnwindSafe for ExampleCategory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
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 more