[][src]Enum rbx_reflection::RbxPropertyScriptability

pub enum RbxPropertyScriptability {
    None,
    ReadWrite,
    Read,
    Write,
    Custom,
}

Describes what kinds of access are allowed to a property from a script running inside Roblox.

Variants

None

The property is not scriptable at all.

ReadWrite

The property can be read from or written to with regular assignments.

Read

The property can only be read from.

Write

The property can only be written to.

Custom

The property can only be modified indirectly.

A common example is the Tags property, which is writable through methods on CollectionService.

Trait Implementations

impl Copy for RbxPropertyScriptability[src]

impl PartialEq<RbxPropertyScriptability> for RbxPropertyScriptability[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for RbxPropertyScriptability[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RbxPropertyScriptability[src]

impl<'de> Deserialize<'de> for RbxPropertyScriptability[src]

impl Serialize for RbxPropertyScriptability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]