Home
runx-runtime

runx_runtime::scaffold::new

Structs §

RunxNewOptions §

pub struct runx_runtime::scaffold::new::RunxNewOptions { /* ... */ }

Trait Implementations §

impl Borrow for RunxNewOptions

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for RunxNewOptions

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for RunxNewOptions

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for RunxNewOptions

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RunxNewOptions

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for RunxNewOptions

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for RunxNewOptions

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for RunxNewOptions

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for RunxNewOptions

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RunxNewOptions

Output

impl Equivalent for RunxNewOptions

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for RunxNewOptions

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for RunxNewOptions

clone

fn clone(self: &Self) -> RunxNewOptions

impl Debug for RunxNewOptions

impl PartialEq for RunxNewOptions

eq

fn eq(self: &Self, other: &RunxNewOptions) -> bool

impl Send for RunxNewOptions

impl Sync for RunxNewOptions

impl Freeze for RunxNewOptions

impl UnsafeUnpin for RunxNewOptions

impl Unpin for RunxNewOptions

impl UnwindSafe for RunxNewOptions

impl RefUnwindSafe for RunxNewOptions

impl StructuralPartialEq for RunxNewOptions

impl Eq for RunxNewOptions

RunxNewResult §

pub struct runx_runtime::scaffold::new::RunxNewResult { /* ... */ }

Trait Implementations §

impl Borrow for RunxNewResult

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for RunxNewResult

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for RunxNewResult

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for RunxNewResult

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RunxNewResult

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for RunxNewResult

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for RunxNewResult

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for RunxNewResult

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for RunxNewResult

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RunxNewResult

Output

impl Equivalent for RunxNewResult

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for RunxNewResult

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for RunxNewResult

clone

fn clone(self: &Self) -> RunxNewResult

impl Debug for RunxNewResult

impl PartialEq for RunxNewResult

eq

fn eq(self: &Self, other: &RunxNewResult) -> bool

impl Serialize for RunxNewResult

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Send for RunxNewResult

impl Sync for RunxNewResult

impl Freeze for RunxNewResult

impl UnsafeUnpin for RunxNewResult

impl Unpin for RunxNewResult

impl UnwindSafe for RunxNewResult

impl RefUnwindSafe for RunxNewResult

impl StructuralPartialEq for RunxNewResult

impl Eq for RunxNewResult

Functions §

scaffold_runx_package §

fn scaffold_runx_package(options: &RunxNewOptions) -> Result<RunxNewResult, super::ScaffoldError>

sanitize_runx_package_name §

fn sanitize_runx_package_name(value: &str) -> String
#[must_use]

packet_namespace_for_name §

fn packet_namespace_for_name(value: &str) -> String
#[must_use]