pub struct CFrame(pub Mat4);Expand description
An implementation of the CFrame
Roblox datatype, backed by glam::Mat4.
This implements all documented properties, methods & constructors of the CFrame class as of March 2023.
Tuple Fields§
§0: Mat4Implementations§
Trait Implementations§
source§impl PartialEq for CFrame
impl PartialEq for CFrame
source§impl UserData for CFrame
impl UserData for CFrame
source§fn add_fields<'lua, F: LuaUserDataFields<'lua, Self>>(fields: &mut F)
fn add_fields<'lua, F: LuaUserDataFields<'lua, Self>>(fields: &mut F)
Adds custom fields specific to this userdata.
source§fn add_methods<'lua, M: LuaUserDataMethods<'lua, Self>>(methods: &mut M)
fn add_methods<'lua, M: LuaUserDataMethods<'lua, Self>>(methods: &mut M)
Adds custom methods and operators specific to this userdata.
impl Copy for CFrame
impl StructuralPartialEq for CFrame
Auto Trait Implementations§
impl RefUnwindSafe for CFrame
impl Send for CFrame
impl Sync for CFrame
impl Unpin for CFrame
impl UnwindSafe for CFrame
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
impl<'lua, T> IntoLuaMulti<'lua> for Twhere T: IntoLua<'lua>,
source§fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
Performs the conversion.