pub struct PropertyType {
pub name: String,
pub description: String,
pub data_type: DataType,
pub socket_type: SocketType,
pub mutability: Mutability,
pub extensions: Vec<Extension>,
/* private fields */
}
Fields§
§name: String
The name of the property.
description: String
Textual description of the property.
data_type: DataType
Specifies the data type of the property.
socket_type: SocketType
Specifies the type of socket - either input socket or output socket or none.
mutability: Mutability
Specifies if the property is mutable.
extensions: Vec<Extension>
Property specific extensions.
Trait Implementations§
Source§impl Clone for PropertyType
impl Clone for PropertyType
Source§fn clone(&self) -> PropertyType
fn clone(&self) -> PropertyType
Returns a copy 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 moreSource§impl Debug for PropertyType
impl Debug for PropertyType
Source§impl From<PropertyType> for PropertyType
impl From<PropertyType> for PropertyType
Source§fn from(property_type: PropertyType) -> Self
fn from(property_type: PropertyType) -> Self
Converts to this type from the input type.
Source§impl From<PropertyType> for PropertyType
impl From<PropertyType> for PropertyType
Source§impl TableInlineFormatSetter for PropertyType
impl TableInlineFormatSetter for PropertyType
fn set_table_inline_format(&mut self, table_inline_format: TableInlineFormat)
Source§impl Tabled for PropertyType
impl Tabled for PropertyType
Auto Trait Implementations§
impl Freeze for PropertyType
impl RefUnwindSafe for PropertyType
impl Send for PropertyType
impl Sync for PropertyType
impl Unpin for PropertyType
impl UnwindSafe for PropertyType
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