pub struct PropertyInput {
pub name: &'static str,
pub kind: InputKind,
pub ty: TypeId,
pub ty_name: &'static str,
/* private fields */
}Expand description
Property input info.
Fields§
§name: &'static strInput name.
kind: InputKindInput kind.
ty: TypeIdType as defined by kind.
The type ID each kind are:
ty_name: &'static strType name of ty.
Implementations§
Source§impl PropertyInput
impl PropertyInput
Sourcepub fn short_ty_name(&self) -> Txt
pub fn short_ty_name(&self) -> Txt
Shorter ty_name.
Sourcepub fn actual_ty_name(&self) -> Txt
pub fn actual_ty_name(&self) -> Txt
Short type name with Var<{}> and Handler<{}> included.
Trait Implementations§
Source§impl Clone for PropertyInput
impl Clone for PropertyInput
Source§fn clone(&self) -> PropertyInput
fn clone(&self) -> PropertyInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropertyInput
impl RefUnwindSafe for PropertyInput
impl Send for PropertyInput
impl Sync for PropertyInput
impl Unpin for PropertyInput
impl UnwindSafe for PropertyInput
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,
§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