Struct windows::Globalization::ICalendar_Vtbl

#[repr(C)]
pub struct ICalendar_Vtbl {
Show 99 fields pub base__: IInspectable_Vtbl, pub Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetToMin: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetToMax: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Languages: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub NumeralSystem: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub SetNumeralSystem: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub GetCalendarSystem: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub ChangeCalendarSystem: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub GetClock: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub ChangeClock: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub GetDateTime: unsafe extern "system" fn(_: *mut c_void, _: *mut DateTime) -> HRESULT, pub SetDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime) -> HRESULT, pub SetToNow: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub FirstEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfEras: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Era: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetEra: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddEras: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub EraAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub EraAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub FirstYearInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastYearInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfYearsInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Year: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetYear: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddYears: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub YearAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub YearAsTruncatedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub YearAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub FirstMonthInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastMonthInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfMonthsInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Month: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetMonth: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddMonths: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub MonthAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MonthAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MonthAsFullSoloString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MonthAsSoloString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MonthAsNumericString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MonthAsPaddedNumericString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub AddWeeks: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub FirstDayInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastDayInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfDaysInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Day: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetDay: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddDays: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub DayAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DayAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DayOfWeek: unsafe extern "system" fn(_: *mut c_void, _: *mut DayOfWeek) -> HRESULT, pub DayOfWeekAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DayOfWeekAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DayOfWeekAsFullSoloString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub DayOfWeekAsSoloString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub FirstPeriodInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastPeriodInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfPeriodsInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Period: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetPeriod: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddPeriods: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub PeriodAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub PeriodAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub FirstHourInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastHourInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfHoursInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Hour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetHour: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddHours: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub HourAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub HourAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub Minute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetMinute: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddMinutes: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub MinuteAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub MinuteAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub Second: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetSecond: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddSeconds: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub SecondAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub SecondAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub Nanosecond: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetNanosecond: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub AddNanoseconds: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub NanosecondAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub NanosecondAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub Compare: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT, pub CompareDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime, _: *mut i32) -> HRESULT, pub CopyTo: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub FirstMinuteInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastMinuteInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfMinutesInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub FirstSecondInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub LastSecondInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub NumberOfSecondsInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub ResolvedLanguage: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub IsDaylightSavingTime: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetToMin: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetToMax: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Languages: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§NumeralSystem: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§SetNumeralSystem: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§GetCalendarSystem: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§ChangeCalendarSystem: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§GetClock: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§ChangeClock: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§GetDateTime: unsafe extern "system" fn(_: *mut c_void, _: *mut DateTime) -> HRESULT§SetDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime) -> HRESULT§SetToNow: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§FirstEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfEras: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Era: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetEra: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddEras: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§EraAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§EraAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§FirstYearInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastYearInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfYearsInThisEra: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Year: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetYear: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddYears: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§YearAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§YearAsTruncatedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§YearAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§FirstMonthInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastMonthInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfMonthsInThisYear: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Month: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetMonth: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddMonths: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§MonthAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MonthAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MonthAsFullSoloString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MonthAsSoloString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MonthAsNumericString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MonthAsPaddedNumericString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§AddWeeks: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§FirstDayInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastDayInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfDaysInThisMonth: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Day: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetDay: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddDays: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§DayAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DayAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DayOfWeek: unsafe extern "system" fn(_: *mut c_void, _: *mut DayOfWeek) -> HRESULT§DayOfWeekAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DayOfWeekAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DayOfWeekAsFullSoloString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§DayOfWeekAsSoloString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§FirstPeriodInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastPeriodInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfPeriodsInThisDay: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Period: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetPeriod: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddPeriods: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§PeriodAsFullString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§PeriodAsString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§FirstHourInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastHourInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfHoursInThisPeriod: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Hour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetHour: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddHours: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§HourAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§HourAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§Minute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetMinute: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddMinutes: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§MinuteAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§MinuteAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§Second: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetSecond: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddSeconds: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§SecondAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§SecondAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§Nanosecond: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetNanosecond: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§AddNanoseconds: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§NanosecondAsString: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§NanosecondAsPaddedString: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<HSTRING>) -> HRESULT§Compare: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i32) -> HRESULT§CompareDateTime: unsafe extern "system" fn(_: *mut c_void, _: DateTime, _: *mut i32) -> HRESULT§CopyTo: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§FirstMinuteInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastMinuteInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfMinutesInThisHour: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§FirstSecondInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§LastSecondInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§NumberOfSecondsInThisMinute: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§ResolvedLanguage: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§IsDaylightSavingTime: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

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

Performs the conversion.