Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Method_sets (0.07 sec)

  1. doc/go1.17_spec.html

    and <code>B2</code> is <code>string</code>.
    The underlying type of <code>[]B1</code>, <code>B3</code>, and <code>B4</code> is <code>[]B1</code>.
    </p>
    
    <h3 id="Method_sets">Method sets</h3>
    <p>
    A type has a (possibly empty) <i>method set</i> associated with it.
    The method set of an <a href="#Interface_types">interface type</a> is its interface.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    <code>T</code>, promoted methods are included in the method set of the struct as follows:
    </p>
    <ul>
    	<li>
    	If <code>S</code> contains an embedded field <code>T</code>,
    	the <a href="#Method_sets">method sets</a> of <code>S</code>
    	and <code>*S</code> both include promoted methods with receiver
    	<code>T</code>. The method set of <code>*S</code> also
    	includes promoted methods with receiver <code>*T</code>.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top