pub struct TimelineMarkerProperties {
pub name: Utf8CString,
pub position: c_int,
}
Available on crate feature
studio
only.Expand description
Describes a marker on the timeline.
Fields§
§name: Utf8CString
Marker name.
position: c_int
Position of the marker on the timeline in milliseconds.
Implementations§
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 Clone for TimelineMarkerProperties
impl Clone for TimelineMarkerProperties
Source§fn clone(&self) -> TimelineMarkerProperties
fn clone(&self) -> TimelineMarkerProperties
Returns a duplicate of the value. Read more
1.0.0 · 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 TimelineMarkerProperties
impl Debug for TimelineMarkerProperties
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