pub struct Info {
pub unique_id: String,
pub title: String,
pub short_title: String,
pub flags: Flags,
pub type_specific: TypeSpecificInfo,
}
Expand description
Owning version of InfoRef
.
Fields§
§unique_id: String
The unique ID of the parameter.
As the name implies, each parameter’s id must be unique within the comonent’s parameters.
Note that this ID will not be presented to the user, it is only used to refer to the parameter in code.
The ID must not begin with the prefix _conformal_internal
, as
this is reserved for use by the Conformal library itself.
title: String
Human-readable title of the parameter.
short_title: String
A short title of the parameter.
In some hosting applications, this may appear as an
abbreviated version of the title. If the title is already
short, it’s okay to use the same value for title
and short_title
.
flags: Flags
Metadata about the parameter
type_specific: TypeSpecificInfo
Information specific to the type of parameter.
Trait Implementations§
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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