pub struct ArrayLocalValue {
pub type: ArrayLocalValueType,
pub value: ListLocalValue,
}Fields§
§type: ArrayLocalValueType§value: ListLocalValueImplementations§
Source§impl ArrayLocalValue
impl ArrayLocalValue
pub fn builder() -> ArrayLocalValueBuilder
Source§impl ArrayLocalValue
impl ArrayLocalValue
pub fn new( type: impl Into<ArrayLocalValueType>, value: impl Into<ListLocalValue>, ) -> Self
Source§impl ArrayLocalValue
impl ArrayLocalValue
pub const IDENTIFIER: &'static str = "script.ArrayLocalValue"
pub const DOMAIN_DIRECTION: &'static str = "all"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ArrayLocalValue
impl Clone for ArrayLocalValue
Source§fn clone(&self) -> ArrayLocalValue
fn clone(&self) -> ArrayLocalValue
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 moreSource§impl Debug for ArrayLocalValue
impl Debug for ArrayLocalValue
Source§impl<'de> Deserialize<'de> for ArrayLocalValue
impl<'de> Deserialize<'de> for ArrayLocalValue
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
Source§impl From<ArrayLocalValue> for LocalValue
impl From<ArrayLocalValue> for LocalValue
Source§fn from(v: ArrayLocalValue) -> Self
fn from(v: ArrayLocalValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArrayLocalValue
impl PartialEq for ArrayLocalValue
Source§impl Serialize for ArrayLocalValue
impl Serialize for ArrayLocalValue
Source§impl TryFrom<LocalValue> for ArrayLocalValue
impl TryFrom<LocalValue> for ArrayLocalValue
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for ArrayLocalValue
Auto Trait Implementations§
impl Freeze for ArrayLocalValue
impl RefUnwindSafe for ArrayLocalValue
impl Send for ArrayLocalValue
impl Sync for ArrayLocalValue
impl Unpin for ArrayLocalValue
impl UnsafeUnpin for ArrayLocalValue
impl UnwindSafe for ArrayLocalValue
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