pub struct TimelineMarkerProperties {
pub name: Utf8CString,
pub position: c_int,
}Fields§
§name: Utf8CString§position: c_intImplementations§
Source§impl TimelineMarkerProperties
impl TimelineMarkerProperties
Sourcepub unsafe fn from_ffi(value: FMOD_STUDIO_TIMELINE_MARKER_PROPERTIES) -> Self
pub unsafe fn from_ffi(value: FMOD_STUDIO_TIMELINE_MARKER_PROPERTIES) -> Self
Create a safe TimelineMarkerProperties struct from the FFI equivalent.
§Safety
All string values from the FFI struct must be a null-terminated and must be valid for reads of bytes up to and including the nul terminator.
See Utf8CStr::from_ptr_unchecked for more information.
Trait Implementations§
Source§impl From<&TimelineMarkerProperties> for FMOD_STUDIO_TIMELINE_MARKER_PROPERTIES
impl From<&TimelineMarkerProperties> for FMOD_STUDIO_TIMELINE_MARKER_PROPERTIES
Source§fn from(value: &TimelineMarkerProperties) -> Self
fn from(value: &TimelineMarkerProperties) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TimelineMarkerProperties
impl RefUnwindSafe for TimelineMarkerProperties
impl Send for TimelineMarkerProperties
impl Sync for TimelineMarkerProperties
impl Unpin for TimelineMarkerProperties
impl UnwindSafe for TimelineMarkerProperties
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