pub struct FunctionTypeValue {
pub location: Location,
pub args_struct: StructTypeValue,
pub return_type: Option<Box<TypeValue>>,
pub item_id: String,
pub attributes: Vec<Attribute>,
pub doc_comment: Option<String>,
pub is_async: bool,
}Fields§
§location: Location§args_struct: StructTypeValue§return_type: Option<Box<TypeValue>>§item_id: String§attributes: Vec<Attribute>§doc_comment: Option<String>§is_async: boolTrait Implementations§
Source§impl Clone for FunctionTypeValue
impl Clone for FunctionTypeValue
Source§fn clone(&self) -> FunctionTypeValue
fn clone(&self) -> FunctionTypeValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionTypeValue
impl Debug for FunctionTypeValue
Auto Trait Implementations§
impl Freeze for FunctionTypeValue
impl RefUnwindSafe for FunctionTypeValue
impl Send for FunctionTypeValue
impl Sync for FunctionTypeValue
impl Unpin for FunctionTypeValue
impl UnsafeUnpin for FunctionTypeValue
impl UnwindSafe for FunctionTypeValue
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 moreSource§impl<T> IntoLuaMulti for Twhere
T: IntoLua,
impl<T> IntoLuaMulti for Twhere
T: IntoLua,
Source§fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
Performs the conversion.